https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60936

--- Comment #31 from Markus Eisenmann <meisenmann....@fh-salzburg.ac.at> ---
Hi!

There's a minor failure in the (patched) function __concat_size_t (within
snprintf_lite.cc):

size_t __len = __out - __cs;

Calculates the remaining/unsused characters in the buffer __cs!
Therefore the resulting string is (mostly) malformed/truncated.

... should be ...

size_t __len = __cs + __ilen - __out;

BR,
Markus

Reply via email to