1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-27 03:35:27 +00:00
OpenMW/components
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
..
2022-10-09 10:39:43 +00:00
2022-10-09 16:44:18 +02:00
2023-01-28 12:14:00 +01:00
2023-01-21 18:39:42 +01:00
2022-09-22 21:35:26 +03:00
2022-10-09 16:44:18 +02:00
2023-01-20 17:43:54 -08:00
2023-02-01 22:27:22 +01:00
2022-10-07 17:19:04 +02:00
2023-02-03 23:00:09 +01:00
2023-02-03 23:00:09 +01:00
2023-02-11 00:58:13 +03:00
2023-02-11 00:58:13 +03:00
2022-09-22 21:35:26 +03:00
2022-09-22 21:35:26 +03:00
2023-01-06 22:23:03 -08:00
2022-09-22 21:35:26 +03:00
2022-09-22 21:35:26 +03:00
2023-02-05 12:30:38 -08:00
2023-01-04 12:22:16 +01:00
2022-09-22 21:35:26 +03:00
2022-10-09 10:39:43 +00:00
2022-04-25 00:25:46 +02:00