Possible NULL-deference in dumper from gdump.c
As of cd171c50, there is an early return at https://gitlab.gnome.org/GNOME/gobject-introspection/-/blob/main/girepository/gdump.c#L629, but error
is not set in this condition:
char **args = g_strsplit (arg, ",", 2);
if (args == NULL)
return FALSE;
scan-build now finds this possible-NULL
-dereference in all the generated introspection files, which do:
if (!dump_irepository (argv[1] + strlen(introspect_dump_prefix), &error))
{
g_printerr ("%%s\n", error->message);
exit (1);
}
(i.e., dereferencing error->message
when FALSE
is returned unconditionally.)