Skip to content

LoadAssemblyAndGetFunctionPointer doesn't reset the out function pointer on error #45601

@vitek-karas

Description

@vitek-karas

If the call to ComponentActivator.LoadAssemblyAndGetFunctionPointer fails it doesn't reset the value of the output parameter to null. It will leave potentially "random" value in it. It would be cleaner to reset the value to null.

Similarly for GetFunctionPointer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Hostin-prThere is an active PR which will close this issue when it is merged

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions