BUG: Segmentation fault with gnupg-1.4.x on Solaris with "--debug 16"

Werner Koch wk at gnupg.org
Tue Aug 19 21:00:44 CEST 2008

On Tue, 19 Aug 2008 16:33, m.heneka at googlemail.com said:

> log_debug ("iobuf-%d.%d: close `%s'\n", a->no, a->subno, a->desc);
> An IO-buffer with desc==NULL causes the crash. The glibc feature

Right.  Fixed in svn revision 4816.

> This article describes problems with this glibc feature. See also the links

It is well known that old libcs segfault on this, although POSIX does
not require such a behaviopus (iirc, it is undefined).  This is the same
class of problems as with passing a negative value to isfoo() - glibc is
robust enough to work correctly but HPUX will always segfault.  Anyway,
it needs to be fixed as we aim for portable software.



Linux-Kongress 2008 + Hamburg + October 7-10 + www.linux-kongress.org

   Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.

More information about the Gnupg-devel mailing list