mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 03:48:01 +00:00
Fail in SHGetDataFromIDList when called on special folder.
This commit is contained in:
parent
8b87bdd76b
commit
433197172d
@ -1113,7 +1113,7 @@ HRESULT WINAPI SHGetDataFromIDListA(LPSHELLFOLDER psf, LPCITEMIDLIST pidl,
|
||||
case SHGDFIL_FINDDATA:
|
||||
pfd = dest;
|
||||
|
||||
if (_ILIsDrive(pidl))
|
||||
if (_ILIsDrive(pidl) || _ILIsSpecialFolder(pidl))
|
||||
return E_INVALIDARG;
|
||||
|
||||
if (len < sizeof(WIN32_FIND_DATAA))
|
||||
|
Loading…
x
Reference in New Issue
Block a user