ole32: Return an error in CoMarshalInterface if pStream is NULL.
This commit is contained in:
parent
fd07191673
commit
923bc6bf3d
|
@ -1550,7 +1550,7 @@ HRESULT WINAPI CoMarshalInterface(IStream *pStream, REFIID riid, IUnknown *pUnk,
|
||||||
dump_MSHLFLAGS(mshlFlags);
|
dump_MSHLFLAGS(mshlFlags);
|
||||||
TRACE(")\n");
|
TRACE(")\n");
|
||||||
|
|
||||||
if (pUnk == NULL)
|
if (!pUnk || !pStream)
|
||||||
return E_INVALIDARG;
|
return E_INVALIDARG;
|
||||||
|
|
||||||
objref.signature = OBJREF_SIGNATURE;
|
objref.signature = OBJREF_SIGNATURE;
|
||||||
|
|
Loading…
Reference in New Issue