I checked the current tree and this appears to have already been fixed by 0637f72 ("Avoid undefined behaviour due to unaligned pointer access").
The UTF-16/UTF-32 conversion paths in src/common/strconv.cpp now use byte-wise ReadLE16/ReadBE16/ReadLE32/ReadBE32 helpers for non-native endian reads, and memcpy() for the native-endian straight-through paths, so they no longer dereference potentially unaligned wxUint16* or wxUint32* pointers.
I also ran the focused mbconv coverage locally:
test_base.exe "[MBConv],[mbconv]"
All 2636 assertions passed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you authored the thread.![]()