Skip to content

Fix GH-16991: Getting typeinfo of non DISPATCH variant segfaults #16992

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Nov 29, 2024

We must not assume that any VARIANT implements IDispatch.

We must not assume that any `VARIANT` implements `IDispatch`.
@cmb69 cmb69 linked an issue Nov 29, 2024 that may be closed by this pull request
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks reasonable, although that whole function has unintuitive code flow.

@cmb69 cmb69 closed this in 9bae893 Nov 29, 2024
@cmb69
Copy link
Member Author

cmb69 commented Nov 29, 2024

Well, whole com_dotnet is in a bad state. Might take a while to clean it up.

@cmb69 cmb69 deleted the cmb/gh16991 branch November 29, 2024 15:34
charmitro pushed a commit to wasix-org/php that referenced this pull request Mar 13, 2025
We must not assume that any `VARIANT` implements `IDispatch`.

Closes phpGH-16992.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Getting typeinfo of non DISPATCH variant segfaults
2 participants