1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-05-19 22:41:28 +00:00
openmw/components/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
..
attr.cpp Add comma to the last array element to prevent putting multiple elements on a single line 2022-09-12 21:00:51 +02:00
attr.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
common.cpp First pass with include-what-you-use 2022-10-09 10:39:43 +00:00
common.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
defs.hpp Cannot load a cell yet, but getting more necessary parts in 2023-01-26 22:36:11 +01:00
esmbridge.cpp Renamed esm3esm4bridge => esmbridge 2023-01-27 18:40:15 +01:00
esmbridge.hpp Avoids a lot a special cases for ESM3 vs ESM4 cells. 2023-02-04 23:25:06 +01:00
esmcommon.hpp Use signed type for left record and files size in ESM3 reader context 2023-02-11 16:09:14 +01:00
format.cpp Remove unused includes 2022-10-09 16:44:18 +02:00
format.hpp Move fourCC to a separate file 2022-11-06 15:35:16 +01:00
fourcc.hpp Move fourCC to a separate file 2022-11-06 15:35:16 +01:00
luascripts.cpp Initial commit: In ESM structures, replace the string members that are RefIds to other records, to a new strong type 2022-12-27 19:15:54 +01:00
luascripts.hpp create a specific esm reader function for RefID to avoid allocation for string and then again for RefId 2022-12-27 19:15:57 +01:00
records.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
refid.cpp Merge branch 'Load_ESM4' into 'master' 2023-01-07 22:17:17 +00:00
refid.hpp Merge branch 'Load_ESM4' into 'master' 2023-01-07 22:17:17 +00:00
util.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00