ole32: Return an error in CoMarshalInterface if pStream is NULL.
Robert Shearman
rob at codeweavers.com
Tue Jan 9 11:16:19 CST 2007
---
dlls/ole32/marshal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
diff --git a/dlls/ole32/marshal.c b/dlls/ole32/marshal.c
index 01368cb..4294cb5 100644
--- a/dlls/ole32/marshal.c
+++ b/dlls/ole32/marshal.c
@@ -1550,7 +1550,7 @@ HRESULT WINAPI CoMarshalInterface(IStrea
dump_MSHLFLAGS(mshlFlags);
TRACE(")\n");
- if (pUnk == NULL)
+ if (!pUnk || !pStream)
return E_INVALIDARG;
objref.signature = OBJREF_SIGNATURE;
More information about the wine-patches
mailing list