Bug#537718: Unguarded variable causes assert

Roland Clobus rclobus at rclobus.nl
Thu Dec 15 16:49:41 UTC 2011


reassign 537718 libgksu 2.0.13
tags +patch
retitle libgksu: Unguarded variable causes assert

Hello,

I've encountered this bug too.
Here is a patch that fixes the problem. In my case the fprintf(stderr,
"%s", child_stderr) would attempt to print the NULL pointer.

It turns out that the bug is not in gksu, but in libgksu.

With kind regards,
Roland Clobus

PS: As a result of this patch, the gksudo will silently fail. But that's
already reported in other bug reports. (The failure to run is correctly
logged in /var/log/auth.log though)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: unguarded_child_stderr.patch
Type: text/x-patch
Size: 1064 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20111215/e83eb8db/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20111215/e83eb8db/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list