Files
Dylan M. Taylor eddae3f23a Cap UTF-8 character collection at the remaining text allowance
block_chars collected a whole Utf8 string before read checked MAX_CHARS, so an oversized string was fully allocated first. Take at most the remaining allowance plus one, as the mixed-segment arm already does, so read still detects the overflow.

Generated with Codebuff
Co-Authored-By: Codebuff <[email protected]>
2026-10-26 12:27:57 -04:00
..
2026-10-23 20:37:05 +00:00
…