mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:18:16 +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:
|
case SHGDFIL_FINDDATA:
|
||||||
pfd = dest;
|
pfd = dest;
|
||||||
|
|
||||||
if (_ILIsDrive(pidl))
|
if (_ILIsDrive(pidl) || _ILIsSpecialFolder(pidl))
|
||||||
return E_INVALIDARG;
|
return E_INVALIDARG;
|
||||||
|
|
||||||
if (len < sizeof(WIN32_FIND_DATAA))
|
if (len < sizeof(WIN32_FIND_DATAA))
|
||||||
|
|
Loading…
Reference in a new issue