This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15852] New: strdup(NULL) causes SEGV
- From: "arno at cs dot vu.nl" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 19 Aug 2013 06:51:03 +0000
- Subject: [Bug libc/15852] New: strdup(NULL) causes SEGV
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15852
Bug ID: 15852
Summary: strdup(NULL) causes SEGV
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: arno at cs dot vu.nl
CC: drepper.fsp at gmail dot com
There is no checking of the input value, 2.18 just does:
size_t len = strlen (s) + 1;
as its first line. Is this correct / by design?
Thanks,
Arno
--
You are receiving this mail because:
You are on the CC list for the bug.