mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-21 17:31:10 +03:00
Partially revert commits2b766585f9andde2fd463b1, 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.
75 KiB
75 KiB