]> 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)
committerGerrit <noreply@gerrit.asterisk.org>
Thu, 22 Jul 2021 18:33:34 +0000 (13:33 -0500)
commit19750db1d3c3dd7d92fe4b3f4573dc211493e7cd
treed3da19fe25f566e8a25d4bc0cd965f96638c1ecf
parent17f177ce06d55b29b0f27868d8348c40c77cba41
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