ole32: Return an error in CoMarshalInterface if pStream is NULL.

This commit is contained in:
Rob Shearman 2007-01-09 17:16:19 +00:00 committed by Alexandre Julliard
parent fd07191673
commit 923bc6bf3d
1 changed files with 1 additions and 1 deletions

View File

@ -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;