Package: libc6
Version: 2.3.2.ds1-10
Severity: normal

Calling strdup (NULL) causes a segmentation fault in libc:

  Starting program: /tmp/test

  Program received signal SIGSEGV, Segmentation fault.
  0x40098a8f in strlen () from /lib/libc.so.6

The documentation doesn't say the string can't be NULL. When that happens,
I'd expect it to not segfault and return NULL either.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux aragorn 2.4.18-1-k7 #3 Sat Nov 29 10:23:13 EST 2003 i686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to