Back to Pull RequestsView on GitHub
#464Closed
Simple Review
fix(utf8): widen WrapBreak offsets to u32 for lines > 64KB
by simonklee•Jan 2, 2026
Summary
This PR addresses an overflow issue in UTF-8 line processing. It widens specific offset fields from u16 to u32 to correctly handle lines longer than 64KB, preventing silent data corruption in release builds and includes a regression test.
Changes
+27 additions-4 deletions
Impact Areas
UTF-8 ProcessingText RenderingInternal Data Structures