Skip to content

Fix #62474: com_event_sink crashes on certain arguments #6372

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 Oct 22, 2020

We have to make sure that the variant is of type VT_DISPATCH before
we access it as such.


I'm not 100% sure whether the behavior is correct, but certainly it's better to let com_event_sink() fail and to return false instead of segfaulting.

We have to make sure that the variant is of type `VT_DISPATCH` before
we access it as such.
@cmb69 cmb69 added the Bug label Oct 22, 2020
@php-pulls php-pulls closed this in 7424bfc Oct 26, 2020
@cmb69 cmb69 deleted the cmb/62474 branch October 26, 2020 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant