Skip to content
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

chan_iax2.c: Avoid crash with IAX2 switch support. #198

Merged
merged 1 commit into from
Jul 12, 2023
Merged

chan_iax2.c: Avoid crash with IAX2 switch support. #198

merged 1 commit into from
Jul 12, 2023

Conversation

seanbright
Copy link
Contributor

A change made in 82cebaa did not properly handle the case when a channel was not provided, triggering a crash. ast_check_hangup(...) does not protect against NULL pointers.

Fixes #180

A change made in 82cebaa did not properly handle the case when a
channel was not provided, triggering a crash. ast_check_hangup(...)
does not protect against NULL pointers.

Fixes #180
@seanbright
Copy link
Contributor Author

cherry-pick-to: 20
cherry-pick-to: 18

@asterisk-org-access-app asterisk-org-access-app bot requested a review from a team July 7, 2023 20:17
@asterisk-org-access-app
Copy link

REMINDER: If this PR applies to other branches, please add a comment with the appropriate "cherry-pick-to" headers as per the Create a Pull Request process.

If you don't want it cherry-picked, please add a comment stating "No cherry-picks required" so we don't keep asking.

If, after adding "cherry-pick-to" comments, you change your mind, please edit the comment to DELETE the header lines and add "No cherry-picks required".

@gtjoseph gtjoseph added the cherry-pick-test Trigger dry run of cherry-picks label Jul 12, 2023
@github-actions github-actions bot added cherry-pick-testing-in-progress Cherry-Pick tests in progress cherry-pick-checks-passed Cherry-Pick checks passed cherry-pick-gates-failed Cherry-Pick gates failed and removed cherry-pick-test Trigger dry run of cherry-picks cherry-pick-testing-in-progress Cherry-Pick tests in progress labels Jul 12, 2023
@github-actions
Copy link

Successfully merged to branch master and cherry-picked to ["20","18"]

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.

[bug]: crash when using switch => support in chan_iax2
4 participants