This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/18641] New: pwd.h: add __nonnull markings


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]