projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
77d234b
)
[NTOS/MM] Ensure ImageBase is not used uninitialized
1537/head
author
Mark Jansen
<mark.jansen@reactos.org>
Sat, 27 Apr 2019 21:58:01 +0000
(23:58 +0200)
committer
Mark Jansen
<mark.jansen@reactos.org>
Tue, 30 Apr 2019 16:57:43 +0000
(18:57 +0200)
ntoskrnl/mm/section.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/mm/section.c
b/ntoskrnl/mm/section.c
index
335ab05
..
56ffab8
100644
(file)
--- a/
ntoskrnl/mm/section.c
+++ b/
ntoskrnl/mm/section.c
@@
-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;