1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 18:59:57 +00:00
openmw/apps/openmw_test_suite/esm
elsid 2e64155c0f
Use signed type for left record and files size in ESM3 reader context
Otherwise reading some of the records like ESM::CellRef without a subrecord
after could lead to underflow of ESM_Context::leftRec which makes
ESM::ESMReader::hasMoreSubs to return true and load hangs for a while trying to
read the same subrecord many times.

Fix ESM::Variant tests since it's now required to have a record for any ESM
data. Add 16 (size of record header) to all expected data sizes.
2023-02-11 16:09:14 +01:00
..
test_fixed_string.cpp Fix gcc warning: array subscript 5 is outside array bounds of ‘const char [5]’ 2023-01-06 22:09:07 +01:00
variant.cpp Use signed type for left record and files size in ESM3 reader context 2023-02-11 16:09:14 +01:00