Eric Biggers
3d110c7c6e
Fix fwrite() reading beyond end of buffer in error path
...
Partially revert commits 2b766585f9b4ffabeef2f36200c275976b93f2c7 and
de2fd463b1c0310d75084b6d774fb974075a4ad9, which were intended to fix BZ#11741
but caused another, likely worse bug, namely that fwrite() and fputs() could,
in an error path, read data beyond the end of the specified buffer, and
potentially even write this data to the file.
Fix BZ#11741 properly by checking the return value from _IO_padn() in
stdio-common/vfprintf.c.
2013-10-11 22:29:38 +05:30
..
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2006-08-14 22:16:14 +00:00
2013-01-02 19:05:09 +00:00
2006-09-30 15:09:35 +00:00
2009-09-02 19:45:33 -07:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-06-08 00:22:23 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-10-11 22:29:38 +05:30
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-06-08 00:22:23 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-06-08 00:22:23 +00:00
2013-06-08 00:22:23 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-06-08 00:22:23 +00:00
2013-06-08 00:22:23 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-06-06 20:36:07 +02:00
2013-01-02 19:05:09 +00:00
2013-06-06 20:36:07 +02:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-06-07 22:24:35 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-10-11 22:29:38 +05:30
2013-10-11 22:29:38 +05:30
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2012-05-24 23:06:20 +02:00
2013-10-11 22:29:38 +05:30
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-06-05 20:44:03 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-10-11 22:29:38 +05:30
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-08-21 19:48:48 +02:00
2013-09-04 15:25:42 +00:00
2013-09-09 22:52:25 +10:00
2013-01-02 19:05:09 +00:00
2013-06-07 22:24:35 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-06-08 00:22:23 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-11 07:14:18 -08:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2007-10-13 07:33:09 +00:00
2009-06-15 17:27:48 -07:00
2009-02-04 21:27:48 +00:00
2006-01-19 01:35:28 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-04-15 11:35:43 +05:30
2006-01-12 02:03:42 +00:00
2006-01-12 02:03:42 +00:00
2013-01-02 19:05:09 +00:00
2008-07-27 18:26:13 +00:00
2006-12-13 23:17:54 +00:00
2013-01-02 19:05:09 +00:00
2009-04-25 08:39:43 +00:00
2006-09-30 15:09:35 +00:00
2006-09-30 15:09:35 +00:00
2013-01-02 19:05:09 +00:00
2011-10-26 16:53:02 -07:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-06-05 20:44:03 +00:00
2013-06-07 22:24:35 +00:00
2013-01-02 19:05:09 +00:00
2013-09-09 22:52:25 +10:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00