mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOS/MM] Ensure ImageBase is not used uninitialized
This commit is contained in:
parent
77d234b049
commit
2450dec427
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ NTSTATUS NTAPI PeFmtCreateSection(IN CONST VOID * FileHeader,
|
|||
ULONG cbHeadersSize = 0;
|
||||
ULONG nSectionAlignment;
|
||||
ULONG nFileAlignment;
|
||||
ULONG_PTR ImageBase;
|
||||
ULONG_PTR ImageBase = 0;
|
||||
const IMAGE_DOS_HEADER * pidhDosHeader;
|
||||
const IMAGE_NT_HEADERS32 * pinhNtHeader;
|
||||
const IMAGE_OPTIONAL_HEADER32 * piohOptHeader;
|
||||
|
|
Loading…
Reference in a new issue