projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b04835
)
[NTOS:CM]
author
Amine Khaldi
<amine.khaldi@reactos.org>
Sat, 28 Jun 2014 13:15:05 +0000
(13:15 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Sat, 28 Jun 2014 13:15:05 +0000
(13:15 +0000)
* Fix uninitialized pointer read. CID
1223184
.
CORE-7975
svn path=/trunk/; revision=63654
reactos/ntoskrnl/config/cmapi.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/config/cmapi.c
b/reactos/ntoskrnl/config/cmapi.c
index
a75f028
..
467afd5
100644
(file)
--- a/
reactos/ntoskrnl/config/cmapi.c
+++ b/
reactos/ntoskrnl/config/cmapi.c
@@
-2173,7
+2173,8
@@
CmpDeepCopyKeyInternal(IN PHHIVE SourceHive,
OUT PHCELL_INDEX DestKeyCell OPTIONAL)
{
NTSTATUS Status;
- PCM_KEY_NODE SrcNode, DestNode;
+ PCM_KEY_NODE SrcNode;
+ PCM_KEY_NODE DestNode = NULL;
HCELL_INDEX NewKeyCell, SubKey, NewSubKey;
ULONG Index, SubKeyCount;
PAGED_CODE();