]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_iax2.c: Avoid crash with IAX2 switch support.
authorSean Bright <sean@seanbright.com>
Fri, 7 Jul 2023 19:57:39 +0000 (15:57 -0400)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Wed, 12 Jul 2023 17:40:07 +0000 (17:40 +0000)
commit508657879e8fe01e71b91dca486d607f9b50739e
tree9175d77e458de01859c2486a80324a4e27fa81e0
parentfe467d595c37ec37d5f15b9b37bf85532b42208f
chan_iax2.c: Avoid crash with IAX2 switch support.

A change made in 82cebaa0 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
channels/chan_iax2.c