]> git.ipfire.org Git - thirdparty/asterisk.git/commit
AST-2021-006 - res_pjsip_t38.c: Check for session_media on reinvite.
authorBen Ford <bford@digium.com>
Thu, 25 Feb 2021 19:50:47 +0000 (13:50 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Thu, 4 Mar 2021 16:29:07 +0000 (10:29 -0600)
commit8c5fe5aac59577bed94b2b75ece0a4d505b56f59
tree0f40df27545274ea32941d2f7ebf8d0ef0b78c5f
parent332130c4389803a3c7e63cabf00daf5ac66a3068
AST-2021-006 - res_pjsip_t38.c: Check for session_media on reinvite.

When Asterisk sends a reinvite negotiating T38 faxing, it's possible a
crash can occur if the response contains a m=image and zero port. The
reinvite callback code now checks session_media to see if it is null or
not before trying to access the udptl variable on it.

ASTERISK-29305

Change-Id: I1dfc51c5fa586e38579ede4bc228edee213ccaa9
(cherry picked from commit 77328142b439235d6423345603a0a59905e54c96)
res/res_pjsip_t38.c