[Bug libc/21531] fclose with NULL is SEGV should set errno EFAULT or EBADF

jg at jguk dot org sourceware-bugzilla@sourceware.org
Thu Jun 1 13:31:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=21531

--- Comment #4 from Jon Grant <jg at jguk dot org> ---
Is there any harm checking for NULL ?
C11 introduced fopen_s which does check for NULL

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list