Files
wxWidgets/tests
dxbjavid 11f8ff7b46 Treat truncated reads as errors in wxDataInputStream
Reading from a truncated stream returned values built from partially
or completely uninitialised buffers, e.g. ReadString() decoded the
unread tail of its temporary buffer and the fixed size readers returned
whatever happened to be on the stack. Check that all the requested bytes
were actually read and, if not, mark the input stream as being in error
and return an empty/zero value instead of silently wrong data.

Closes #26600.
2026-06-17 02:03:13 +02:00
..
2026-06-15 22:20:39 -07:00
2025-09-01 15:23:25 +02:00
2026-06-15 22:20:39 -07:00
2026-01-25 22:08:21 +01:00
2025-09-02 19:24:40 -04:00
2026-05-27 16:17:21 +02:00
2026-05-19 03:01:39 +02:00
2026-06-15 22:20:39 -07: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.