]> 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)
committerGeorge Joseph <gjoseph@digium.com>
Thu, 22 Jul 2021 18:41:24 +0000 (13:41 -0500)
commit7eb20323866098804e98aedfc8a8078971ddd38f
tree9bbbad92765a71868524f7a9f591782321c99fa1
parentfbaea22493a6061d4bdc87bddc0cb5971e5f71d9
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
channels/chan_iax2.c