This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/18641] New: pwd.h: add __nonnull markings
- From: "vapier at gentoo dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 08 Jul 2015 07:16:13 +0000
- Subject: [Bug libc/18641] New: pwd.h: add __nonnull markings
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18641
Bug ID: 18641
Summary: pwd.h: add __nonnull markings
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: vapier at gentoo dot org
CC: drepper.fsp at gmail dot com
Target Milestone: ---
per the thread:
https://sourceware.org/ml/libc-alpha/2015-05/msg00867.html
when you use many functions in pwd.h with NULL pointers, glibc will crash.
POSIX doesn't require NULL to be supported, so we want to mark all the funcs as
nonnull instead. this way user code is compiled with warnings and our API
expectations are documented.
--
You are receiving this mail because:
You are on the CC list for the bug.