ole32: Initialise object variable in RunningObjectTableImpl_GetObject.
As per the rules for memory in RPC, the memory pointer to by object will be used during unmarshalling and previously it was uninitialised. (Thanks to Dan Kegel and his Valgrind runs for reporting this.)
This commit is contained in:
parent
5393b7a675
commit
3328ad6eb9
|
@ -693,7 +693,7 @@ RunningObjectTableImpl_GetObject( IRunningObjectTable* iface,
|
|||
{
|
||||
RunningObjectTableImpl *This = (RunningObjectTableImpl *)iface;
|
||||
MonikerComparisonData *moniker_data;
|
||||
InterfaceData *object;
|
||||
InterfaceData *object = NULL;
|
||||
IrotCookie cookie;
|
||||
HRESULT hr;
|
||||
struct rot_entry *rot_entry;
|
||||
|
|
Loading…
Reference in New Issue