]> 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>
Thu, 22 Jul 2021 21:16:59 +0000 (16:16 -0500)
commit2a141a58b61ba0ed91061e1acc2c1955e0160f73
tree2a3a0d199f77c3deb278567919d745dff5654887
parent523a79528932e63c6aaad2fffb3fa08427f8f920
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