This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[ping3][PATCH][BZ15362] Fix fwrite() reading beyond end of buffer in error path
- From: Eric Biggers <ebiggers3 at gmail dot com>
- To: libc-alpha at sourceware dot org
- Cc: siddhesh at redhat dot com, joseph at codesourcery dot com
- Date: Fri, 2 Aug 2013 20:05:23 -0500
- Subject: [ping3][PATCH][BZ15362] Fix fwrite() reading beyond end of buffer in error path
Hi,
It's been a while since I posted this patch, but as the issue appears to still
be unresolved, I'm pinging it again. The patch fixes BZ 15362 and introduces a
better fix for BZ 11741. The current version of the patch is at the end of the
following email:
http://sourceware-org.1504.n7.nabble.com/PATCH-BZ-15362-Fix-fwrite-reading-beyond-end-of-buffer-in-error-path-tp228788p229144.html
Please note that I now have a FSF copyright assignment in place. This patch was
also pinged a while back by Siddhesh Poyarekar but no one else reviewed it:
http://sourceware-org.1504.n7.nabble.com/ping2-PATCH-BZ-15362-Fix-fwrite-reading-beyond-end-of-buffer-in-error-path-td235528.html
This is notwithstanding the fact that I was not particularly impressed with the
state of the libio code and I felt it needed a major cleanup (for example, to
get rid of the C++ compatibility that seems to be no longer used, and auditing
error paths for correct, standards-compliant behavior).
Eric