This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15852] strdup(NULL) causes SEGV
- From: "aj at suse dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 19 Aug 2013 06:59:51 +0000
- Subject: [Bug libc/15852] strdup(NULL) causes SEGV
- Auto-submitted: auto-generated
- References: <bug-15852-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15852
Andreas Jaeger <aj at suse dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aj at suse dot de
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #1 from Andreas Jaeger <aj at suse dot de> ---
Yes, this is expected behaviour. strdup requires a valid pointer - and NULL is
not a valid allocated pointer.
--
You are receiving this mail because:
You are on the CC list for the bug.