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

--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Overflow is possible though. If you call it with max = (-1ull / 4 + 2) then the
alloca length will be 4. If (from_end - from) requires more than 4 wide
characters, we'll overflow the alloca buffer.

Reply via email to