[REGEDIT]

- initialize ExportKeyPath so that parseKeyName is not fed garbage if exporting all
CORE-8771

svn path=/trunk/; revision=65351
This commit is contained in:
Kamil Hornicek 2014-11-09 23:31:26 +00:00
parent 3c5de6a8aa
commit e2ae551d1b

View file

@ -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;