Changed paths:
M src/common/strconv.cpp
M tests/mbconv/mbconvtest.cpp
Log Message:
-----------
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.