GNOME Bugzilla – Bug 770842
Guard against printf("%s", NULL) that can be hit on exit and in the open dialog.
Last modified: 2018-05-24 16:50:57 UTC
Created attachment 334741 [details] [review] Guard against printf("%s", NULL) On exit and on the open dialog printf("%s", ..) could have a NULL parameter. Attached patch. Giovanni
This patch protects against the identifier quark being 0, how can this happen at all? Seems like this is safety against a bug happening somewhere else. Did this actually happen to you and did you figure why?
Giovanni, can you answer the question in comment 1?
It happens to me as well, I will try to debug it asap. Giovanni
Did you figure out why this happens?
Giovanni, any news?
It seems to have disappeared after upgrading to some gtk+2 version, I am running with gtk+2.24.31 and there is no more warning. Giovanni
Thanks for checking!
I was wrong, sorry. The warning is still there and us due to at least a glib function: https://github.com/GNOME/glib/blob/master/glib/gstring.c#L1132
There is some weird shit going on with tags, we should look into this for 2.10.x at least.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/953.