Searched hist:275665 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11.0-release/lib/libc/stdio/
H A Dfflush.cdiff 275665 Wed Dec 10 08:27:27 MST 2014 delphij In r268924 __fflush was modified so that when write(2) was not successful,
_p and _w are adjusted to account for the partial write (if any).

However, _p and _w should not be unconditionally adjusted and should only
be changed when we actually wrote some bytes, or the accumulated accounting
error will eventually result in a heap buffer overflow.

Reported by: adrian and alfred (Norse Corporation)
Security: FreeBSD-SA-14:27.stdio
Security: CVE-2014-8611

Completed in 51 milliseconds