X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fbase%2Fapplications%2Fregedit%2Fframewnd.c;h=8f7d4882bde9754f7c1e722fc3a04477be4ffe3d;hp=38186736b1eb98f325acf0e85a0a90468cfdc9d9;hb=e2ae551d1b3bddef3d55d717ab540235757eb9fc;hpb=d772498800f9e508a5fca88a78dbfb96ba5405c2 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;