[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690
Alexandre Julliard
julliard at winehq.org
Sun Jun 17 20:03:41 UTC 2012
The following commit has been merged in the wheezy branch:
commit 383e94c7ac3fc2b0cdeb4b7be4395f602a51afad
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon May 14 18:24:19 2012 +0200
ole32: Add a NULL pointer check in CoDisconnectObject.
(cherry picked from commit 2736d28064437a470897bb9cb8688e354bb93908)
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 72ba32a..ff8f961 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -1557,6 +1557,8 @@ HRESULT WINAPI CoDisconnectObject( LPUNKNOWN lpUnk, DWORD reserved )
TRACE("(%p, 0x%08x)\n", lpUnk, reserved);
+ if (!lpUnk) return E_INVALIDARG;
+
hr = IUnknown_QueryInterface(lpUnk, &IID_IMarshal, (void **)&marshal);
if (hr == S_OK)
{
--
Debian Wine packaging
More information about the pkg-wine-party
mailing list