Skip to content

DllGetClassObject does not reliably initialize its out pararameter #127881

@rgatkinson

Description

@rgatkinson

COM_API HRESULT STDMETHODCALLTYPE DllGetClassObject(

COM out parameters should always be initialized, even in failure cases. Here, DllGetClassObject has code paths that return failure HRESULTs without initializing *ppv. A simple *ppv = nullptr; at the top of the function would do the trick.

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions