Segfault & patch for libxfcegui4

Enrico Tröger enrico.troeger at uvena.de
Tue Aug 21 15:05:10 CEST 2007


Hi,

I didn't any component for libxfcegui4 in the bugzilla. Maybe I
overlooked it but anyway here come my little bug report.

In libxfcegui4/libxfcegui4/icons.c:218 is a small mistake which may
cause a segfault (like it happened here right now). Before checking for
"*name", name itself should be checked to be not NULL.

The attached patch adds the NULL check for name.

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libxfcegui4_iconlookup.diff
Type: text/x-diff
Size: 456 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20070821/1f4efa35/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20070821/1f4efa35/attachment.pgp>


More information about the Xfce4-dev mailing list