Commit 923bc6bf authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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

parent fd071916
......@@ -1550,7 +1550,7 @@ HRESULT WINAPI CoMarshalInterface(IStream *pStream, REFIID riid, IUnknown *pUnk,
dump_MSHLFLAGS(mshlFlags);
TRACE(")\n");
if (pUnk == NULL)
if (!pUnk || !pStream)
return E_INVALIDARG;
objref.signature = OBJREF_SIGNATURE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment