[EVTLIB] Fix size of event log record

The size is 32bit, don't read a SIZE_T. Fixes crashes of advapi32_winetest eventlog on x64.
This commit is contained in:
Timo Kreuzer 2024-04-14 12:49:01 +03:00
parent 565828127f
commit a8ece7e81a
1 changed files with 1 additions and 1 deletions

View File

@ -1205,7 +1205,7 @@ ElfReadRecord(
NTSTATUS Status;
LARGE_INTEGER FileOffset;
ULONG RecOffset;
SIZE_T RecSize;
ULONG RecSize;
SIZE_T ReadLength;
ASSERT(LogFile);