This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/21531] fclose with NULL is SEGV should set errno EFAULT or EBADF
- From: "jg at jguk dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 01 Jun 2017 13:31:44 +0000
- Subject: [Bug libc/21531] fclose with NULL is SEGV should set errno EFAULT or EBADF
- Auto-submitted: auto-generated
- References: <bug-21531-131@http.sourceware.org/bugzilla/>
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.