From e2ae551d1b3bddef3d55d717ab540235757eb9fc Mon Sep 17 00:00:00 2001 From: Kamil Hornicek Date: Sun, 9 Nov 2014 23:31:26 +0000 Subject: [PATCH] [REGEDIT] - initialize ExportKeyPath so that parseKeyName is not fed garbage if exporting all CORE-8771 svn path=/trunk/; revision=65351 --- reactos/base/applications/regedit/framewnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/base/applications/regedit/framewnd.c b/reactos/base/applications/regedit/framewnd.c index 38186736b1e..8f7d4882bde 100644 --- a/reactos/base/applications/regedit/framewnd.c +++ b/reactos/base/applications/regedit/framewnd.c @@ -587,7 +587,7 @@ BOOL ExportRegistryFile(HWND hWnd) { 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; -- 2.17.1