Skip to content

Conversation

@jevansaks
Copy link
Member

The logic that kicks in to convert parameters of type HANDLE to SafeHandle was not working correctly for array-typed parameters. We can certainly improve these parameters but they're not that common and it seems better to just un-break them for now so that they can be correctly called at least.

Fixes #1561, Fixes #1442

@jevansaks jevansaks requested a review from manodasanW November 24, 2025 07:44
@jevansaks jevansaks merged commit df226e9 into main Nov 24, 2025
7 checks passed
@jevansaks jevansaks deleted the user/jevansaks/safehandlearray branch November 24, 2025 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The friendly wrapper for EnumProcessModules() isn't correct. ITypeInfo methods taking SysFreeStringSafeHandle are unsafe

3 participants