Segfault & patch for libxfcegui4

Jean-François Wauthy pollux at xfce.org
Tue Aug 21 18:51:06 CEST 2007


Le mardi 21 août 2007 à 15:05 +0200, Enrico Tröger a écrit :
> Hi,
> 
hi

> 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 NULL check is already there in g_return_val_if_fail(name, NULL); but
somehow fails here (i guess the expression to check should be more
explicit like name != NULL).

Cheers
-- 
Jean-François Wauthy <pollux at xfce.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20070821/68984620/attachment.pgp>


More information about the Xfce4-dev mailing list