From 2a32094aa03aece50fbc16a371986a9664216d83 Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Sat, 11 Apr 2020 09:27:45 +0900 Subject: [PATCH] [SHELL32] Check pidl->mkid.cb == 0 at CChangeNotify::ShouldNotify CORE-13950 --- dll/win32/shell32/shelldesktop/CChangeNotify.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dll/win32/shell32/shelldesktop/CChangeNotify.cpp b/dll/win32/shell32/shelldesktop/CChangeNotify.cpp index af4825cdaf8..0692ff86989 100644 --- a/dll/win32/shell32/shelldesktop/CChangeNotify.cpp +++ b/dll/win32/shell32/shelldesktop/CChangeNotify.cpp @@ -550,6 +550,8 @@ BOOL CChangeNotify::ShouldNotify(LPDELITICKET pTicket, LPNOTIFSHARE pShared) return TRUE; pidl = (LPITEMIDLIST)((LPBYTE)pShared + pShared->ibPidl); + if (pidl->mkid.cb == 0 && pShared->fRecursive) + return TRUE; if (pTicket->ibOffset1) {