[SHLWAPI] Import Wine commit c8175e6c7a7 (Fix Stat() method for file streams) by Nikolay Sivov.

Fixes crash in shlwapi_winetest:istream.
This commit is contained in:
Thomas Faber 2019-09-08 11:22:22 +02:00
parent faae7e5790
commit cfc5b3749f
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View file

@ -298,7 +298,7 @@ static HRESULT WINAPI IStream_fnStat(IStream *iface, STATSTG* lpStat,
TRACE("(%p,%p,%d)\n", This, lpStat, grfStatFlag);
if (!grfStatFlag)
if (!lpStat)
return STG_E_INVALIDPOINTER;
memset(&fi, 0, sizeof(fi));