mirror of
https://github.com/reactos/reactos
synced 2025-10-06 00:12:51 +02:00
[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:
@@ -1205,7 +1205,7 @@ ElfReadRecord(
|
|||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
LARGE_INTEGER FileOffset;
|
LARGE_INTEGER FileOffset;
|
||||||
ULONG RecOffset;
|
ULONG RecOffset;
|
||||||
SIZE_T RecSize;
|
ULONG RecSize;
|
||||||
SIZE_T ReadLength;
|
SIZE_T ReadLength;
|
||||||
|
|
||||||
ASSERT(LogFile);
|
ASSERT(LogFile);
|
||||||
|
Reference in New Issue
Block a user