Author: pschweitzer
Date: Sun Apr 7 11:06:00 2013
New Revision: 58710
URL:
http://svn.reactos.org/svn/reactos?rev=58710&view=rev
Log:
[DEVMGMT]
Don't use uninitialized memory address when calling InsertIntoTreeView()
Modified:
trunk/reactos/base/applications/mscutils/devmgmt/enumdevices.c
Modified: trunk/reactos/base/applications/mscutils/devmgmt/enumdevices.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/devmgmt/enumdevices.c [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/mscutils/devmgmt/enumdevices.c [iso-8859-1] Sun Apr 7
11:06:00 2013
@@ -472,7 +472,7 @@
TCHAR ClassGuidString[MAX_GUID_STRING_LEN];
GUID ClassGuid;
ULONG ulLength;
- LPTSTR DeviceID;
+ LPTSTR DeviceID = NULL;
INT ClassImage = 24;
CONFIGRET cr;