Files
wxWidgets/tests/mbconv
dxbjavid f5c81bc5de Fix out-of-bounds table read in wxMBConvUTF7::ToWChar()
In wxMBConvUTF7::ToWChar() the value of the byte after '+' was cast to
"unsigned", which meant that on the platforms with signed bytes values
greater than 0x80 were sign-extended to a ~4GiB index which was (way)
out of bounds for a 256-entry table.

Fix the code by casting to "unsigned char", like the cc lookup just
above already does.

Closes #26517.
2026-05-27 15:56:54 +02:00
..