Files
wxWidgets/tests
dxbjavidandVadim Zeitlin 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
..
2025-09-01 15:23:25 +02:00
2026-01-25 22:08:21 +01:00
2025-09-02 19:24:40 -04:00
2026-05-19 03:01:39 +02:00
2024-07-07 01:17:22 +02:00
2024-07-07 01:17:22 +02:00
2024-07-07 01:17:22 +02:00
2024-03-27 20:13:19 +01:00

Tests

This directory contains tests for the library and is mostly useful for the library developers. See the samples subdirectory for the examples that are more useful to the application developers using the library.

If you do work on the library itself and would like to modify an existing or add a new test, please see docs/contributing/how-to-write-unit-tests.md for more information.

This file also contains the instructions for running the tests if you'd just like to do it to confirm that the library works correctly.