[PATCH v2] shell32: Avoid crash on WM_WINDOWPOSCHANGING in BrsFolderDlgProc.
Roman Pišl
rpisl at seznam.cz
Sun Feb 16 14:10:31 CST 2020
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48510
Signed-off-by: Roman Pišl <rpisl at seznam.cz>
---
dlls/shell32/brsfolder.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/shell32/brsfolder.c b/dlls/shell32/brsfolder.c
index d71ec62099..188524d6a9 100644
--- a/dlls/shell32/brsfolder.c
+++ b/dlls/shell32/brsfolder.c
@@ -1109,6 +1109,8 @@ static INT_PTR CALLBACK BrsFolderDlgProc( HWND hWnd, UINT msg, WPARAM wParam,
return BrsFolder_OnCreate( hWnd, (browse_info*) lParam );
info = GetPropW( hWnd, szBrowseFolderInfo );
+ if (!info)
+ return FALSE;
switch (msg)
{
--
2.20.1
More information about the wine-devel
mailing list