]> 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:42:18 +0000 (13:42 -0500)
commita73db1ec6b8d9412ee929f46ea577d9a05af1ee7
tree8b5bfacb657cc348c057407a37b2214f626fd68a
parentf1efd037a1fd0260d41538f331af139e2677eafe
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