https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104969
Siddhesh Poyarekar changed:
What|Removed |Added
See Also||https://sourceware.org/bugz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104969
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104969
--- Comment #2 from Siddhesh Poyarekar ---
(In reply to Martin Liška from comment #0)
> The original code is defective a bit as it wrongly assumes that
> (char*)str + (2 * i) is at maximum 'len' big. It's actually len - (2 * i)
> big. But it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104969
--- Comment #1 from Andreas Schwab ---
Passing a max len bigger than the available space is already an error. The
whole point of snprintf is to never overflow no matter how large the output.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104969
Martin Liška changed:
What|Removed |Added
Target Milestone|--- |12.0
Status|UNCONFIRMED