From: Kamil Hornicek Date: Sun, 9 Nov 2014 23:31:26 +0000 (+0000) Subject: [REGEDIT] X-Git-Tag: backups/tcpip_revolution@71025~22 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=e2ae551d1b3bddef3d55d717ab540235757eb9fc;ds=sidebyside [REGEDIT] - initialize ExportKeyPath so that parseKeyName is not fed garbage if exporting all CORE-8771 svn path=/trunk/; revision=65351 --- 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;