mirror of
https://github.com/reactos/reactos.git
synced 2025-04-06 05:34:22 +00:00
[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:
parent
faae7e5790
commit
cfc5b3749f
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue