]> git.ipfire.org Git - thirdparty/asterisk.git/commit
AST-2021-008 - chan_iax2: remote crash on unsupported media format
authorKevin Harwell <kharwell@sangoma.com>
Mon, 10 May 2021 22:59:00 +0000 (17:59 -0500)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Fri, 23 Jul 2021 13:23:14 +0000 (08:23 -0500)
commit56f9c28a50c749130fcc394c5fdb3fb0e5e7567f
treeb623be9d42bcdd6428771429fcc8f2cd2f871ead
parent45af7e9984cf4f90d299668f90add81afe553a21
AST-2021-008 - chan_iax2: remote crash on unsupported media format

If chan_iax2 received a packet with an unsupported media format, for
example vp9, then it would set the frame's format to NULL. This could
then result in a crash later when an attempt was made to access the
format.

This patch makes it so chan_iax2 now ignores/drops frames received
with unsupported media format types.

ASTERISK-29392 #close

Change-Id: Ifa869a90dafe33eed8fd9463574fe6f1c0ad3eb1
(cherry picked from commit 2a141a58b61ba0ed91061e1acc2c1955e0160f73)
channels/chan_iax2.c