Xin LI 805288c2f0 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
2014-12-10 08:18:22 +00:00
..
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2014-07-22 16:39:11 +00:00
2014-07-22 23:29:54 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2013-07-12 17:37:05 +00:00
2014-07-20 20:29:28 +00:00
2013-04-23 14:36:44 +00:00
2013-08-09 17:24:23 +00:00
2013-08-09 17:24:23 +00:00
2014-10-28 02:05:57 +00:00
2013-04-23 14:36:44 +00:00
2013-04-23 14:36:44 +00:00
2014-07-22 16:39:11 +00:00
2014-07-22 23:29:54 +00:00
2013-04-23 14:36:44 +00:00
2014-07-22 16:10:56 +00:00
2012-05-12 20:27:13 +00:00
2013-04-23 14:36:44 +00:00
2013-08-09 17:24:23 +00:00
2013-04-23 14:36:44 +00:00
2014-07-20 21:24:29 +00:00
2014-07-20 21:24:29 +00:00
2013-04-23 14:36:44 +00:00
2014-07-20 21:24:29 +00:00
2012-05-12 20:27:13 +00:00
2013-04-23 14:36:44 +00:00