This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/13983] __libc_message() shouldn't blindly write to STDERR_FILENO


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]