Commit 0f9ebafb authored by Alex Villacís Lasso's avatar Alex Villacís Lasso Committed by Alexandre Julliard

Initialize RegisteredClass properly in CoRegisterClassObject to

prevent crash in CoRevokeClassObject when accessing (uninitialized) pMarshalledData.
parent 94856326
......@@ -1403,6 +1403,8 @@ HRESULT WINAPI CoRegisterClassObject(
newClass->classIdentifier = *rclsid;
newClass->runContext = dwClsContext;
newClass->connectFlags = flags;
newClass->pMarshaledData = NULL;
/*
* Use the address of the chain node as the cookie since we are sure it's
* unique. FIXME: not on 64-bit platforms.
......
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