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: "schwab at linux-m68k dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 30 May 2017 20:30:39 +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 #3 from Andreas Schwab <schwab@linux-m68k.org> ---
A stream is not a descriptor, and NULL is never a stream, so it doesn't have a
descriptor in the first place.
--
You are receiving this mail because:
You are on the CC list for the bug.