GNOME Bugzilla – Bug 152556
null check is incorrect for %k handling
Last modified: 2004-12-22 21:47:04 UTC
libgnome-desktop appears to support %k which is replaced with the URI of the .desktop file. However, the null check for this case is backwards, so %k is _not_ substituted when it should be, and if item->location is ever null, it will crash.
Created attachment 31539 [details] [review] patch
Thanks Brian - fix will be in 2.8.1: 2004-09-14 Mark McLoughlin <mark@skynet.ie> Patch from Brian Ryner <bryner@brianryner.com> in bug #152556 * gnome-desktop-item.c: (do_percent_subst): make %k work again.