Author: khornicek
Date: Sun Nov 9 23:31:26 2014
New Revision: 65351
URL:
http://svn.reactos.org/svn/reactos?rev=65351&view=rev
Log:
[REGEDIT]
- initialize ExportKeyPath so that parseKeyName is not fed garbage if exporting all
CORE-8771
Modified:
trunk/reactos/base/applications/regedit/framewnd.c
Modified: trunk/reactos/base/applications/regedit/framewnd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/regedit/…
==============================================================================
--- trunk/reactos/base/applications/regedit/framewnd.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/regedit/framewnd.c [iso-8859-1] Sun Nov 9 23:31:26
2014
@@ -587,7 +587,7 @@
{
BOOL bRet = FALSE;
OPENFILENAME ofn;
- WCHAR ExportKeyPath[_MAX_PATH];
+ WCHAR ExportKeyPath[_MAX_PATH] = {0};
WCHAR Caption[128], szTitle[512], szText[512];
HKEY hKeyRoot;
LPCWSTR pszKeyPath;