Author: akhaldi
Date: Sat Jun 28 13:15:05 2014
New Revision: 63654
URL:
http://svn.reactos.org/svn/reactos?rev=63654&view=rev
Log:
[NTOS:CM]
* Fix uninitialized pointer read. CID 1223184.
CORE-7975
Modified:
trunk/reactos/ntoskrnl/config/cmapi.c
Modified: trunk/reactos/ntoskrnl/config/cmapi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmapi.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmapi.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/config/cmapi.c [iso-8859-1] Sat Jun 28 13:15:05 2014
@@ -2173,7 +2173,8 @@
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();