Author: weiden
Date: Wed Oct 31 20:13:52 2007
New Revision: 30020
URL:
http://svn.reactos.org/svn/reactos?rev=30020&view=rev
Log:
Don't call SHBrowseForFolder() with random pointers
Modified:
trunk/reactos/dll/cpl/appwiz/createlink.c
Modified: trunk/reactos/dll/cpl/appwiz/createlink.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/appwiz/createlink.…
==============================================================================
--- trunk/reactos/dll/cpl/appwiz/createlink.c (original)
+++ trunk/reactos/dll/cpl/appwiz/createlink.c Wed Oct 31 20:13:52 2007
@@ -88,6 +88,7 @@
switch(LOWORD(wParam))
{
case IDC_SHORTCUT_BROWSE:
+ ZeroMemory(&brws, sizeof(brws));
brws.hwndOwner = hwndDlg;
brws.pidlRoot = NULL;
brws.pszDisplayName = szPath;