ole32: Fix potential NULL dereference of qiresults in ClientIdentity_QueryMultipleInterfaces.
This could happen if proxy_manager_get_remunknown returns S_FALSE, so fix the check of the return code to match that below.
This commit is contained in:
parent
bfa6ddaeb7
commit
461ce6e4a2
@ -279,7 +279,7 @@ static HRESULT WINAPI ClientIdentity_QueryMultipleInterfaces(IMultiQI *iface, UL
|
|||||||
/* get IRemUnknown proxy so we can communicate with the remote object */
|
/* get IRemUnknown proxy so we can communicate with the remote object */
|
||||||
hr = proxy_manager_get_remunknown(This, &remunk);
|
hr = proxy_manager_get_remunknown(This, &remunk);
|
||||||
|
|
||||||
if (hr == S_OK)
|
if (SUCCEEDED(hr))
|
||||||
{
|
{
|
||||||
hr = IRemUnknown_RemQueryInterface(remunk, ipid, NORMALEXTREFS,
|
hr = IRemUnknown_RemQueryInterface(remunk, ipid, NORMALEXTREFS,
|
||||||
nonlocal_mqis, iids, &qiresults);
|
nonlocal_mqis, iids, &qiresults);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user