Forwarding Red Hat bugzilla entry: https://bugzilla.redhat.com/show_bug.cgi?id=1177799 The report includes a patch and detailed crash information.
Pushed an updated patch to git master and backported it to the stable mm-1-4 branch, thanks.
Thanks. There are a number of similar bugs. Three more segfaults originating from a call to g_str_equal() have been reported to RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1183250 https://bugzilla.redhat.com/show_bug.cgi?id=1156069 https://bugzilla.redhat.com/show_bug.cgi?id=1138212 Perhaps it might be best to simply replace all uses of g_str_equal() with g_strcmp0()?
(In reply to Bastiaan Jacques from comment #2) > Thanks. > > There are a number of similar bugs. Three more segfaults originating from a > call to g_str_equal() have been reported to RHBZ: > > https://bugzilla.redhat.com/show_bug.cgi?id=1183250 I'll push a fix for this one. > https://bugzilla.redhat.com/show_bug.cgi?id=1156069 This one is fixed with the patch I pushed. > https://bugzilla.redhat.com/show_bug.cgi?id=1138212 > This one looks fixed in mm-1-4 and git master already. > Perhaps it might be best to simply replace all uses of g_str_equal() with > g_strcmp0()? Most of the times I personally prefer a explicit check for != NULL and g_str_equal(), but g_strcmp0 really ends up being safer, yes.
(In reply to Aleksander Morgado from comment #3) > (In reply to Bastiaan Jacques from comment #2) > > Thanks. > > > > There are a number of similar bugs. Three more segfaults originating from a > > call to g_str_equal() have been reported to RHBZ: > > > > https://bugzilla.redhat.com/show_bug.cgi?id=1183250 > > I'll push a fix for this one. > Fixed it in git master and mm-1-4.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.