[NTOS:CM]

* Fix uninitialized pointer read. CID 1223184.
CORE-7975

svn path=/trunk/; revision=63654
This commit is contained in:
Amine Khaldi 2014-06-28 13:15:05 +00:00
parent 7b04835c8b
commit 8a6f50e496

View file

@ -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();