This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/13983] __libc_message() shouldn't blindly write to STDERR_FILENO
- From: "nenolod at dereferenced dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Mon, 16 Apr 2012 09:09:38 +0000
- Subject: [Bug libc/13983] __libc_message() shouldn't blindly write to STDERR_FILENO
- Auto-submitted: auto-generated
- References: <bug-13983-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13983
William Pitcock <nenolod at dereferenced dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #6343|0 |1
is obsolete| |
--- Comment #13 from William Pitcock <nenolod at dereferenced dot org> 2012-04-16 09:09:38 UTC ---
Created attachment 6344
--> http://sourceware.org/bugzilla/attachment.cgi?id=6344
check-stderr-v3.patch
A stronger check would be to compare against STDERR_FILENO instead of -1. This
allows us to check that fd=2 is explictly stderr.
--
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.