[Bug libc/9819] readdir segmentation faults when passed NULL

jg at jguk dot org sourceware-bugzilla@sourceware.org
Tue Sep 27 21:46:00 GMT 2011


http://sourceware.org/bugzilla/show_bug.cgi?id=9819

Jon Grant <jg at jguk dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jg at jguk dot org

--- Comment #2 from Jon Grant <jg at jguk dot org> 2011-09-27 21:45:55 UTC ---
Would it not be more robust to check for NULL, and return -1, setting errno to
EFAULT, or EINVAL?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list