On 4/28/24 12:38 AM, Collin Funk wrote:
> If I understand correctly, sprintf should return 4 here correct? And
> the buffer should have 5 NUL bytes. 4 from the arguments and 1
> trailing, which is excluded from the return value.

I have no other systems to check this on, so I will trust my findings
there.

Reported here:

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

Collin

Reply via email to