https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d7663912315f691d29a14…
commit d7663912315f691d29a14e507380c4e7feeacfdf
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Sat Feb 16 18:35:08 2019 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Mon Feb 18 23:00:31 2019 +0100
[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 05c7284a87..1873f4a487 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. */