From d7663912315f691d29a14e507380c4e7feeacfdf Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Sat, 16 Feb 2019 18:35:08 +0100 Subject: [PATCH] [SHELL32] Abort change notifications on a nullptr CORE-15703 --- dll/win32/shell32/wine/changenotify.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dll/win32/shell32/wine/changenotify.c b/dll/win32/shell32/wine/changenotify.c index 05c7284a87f..1873f4a487d 100644 --- a/dll/win32/shell32/wine/changenotify.c +++ b/dll/win32/shell32/wine/changenotify.c @@ -730,6 +730,12 @@ _NotificationCompletion(DWORD dwErrorCode, // completion code return; } + if (!item) + { + ERR("item == NULL\n"); + return; + } + #endif /* This likely means overflow, so force whole directory refresh. */