]> git.ipfire.org Git - thirdparty/asterisk.git/commit
AST-2019-004 - res_pjsip_t38.c: Add NULL checks before using session media 15
authorKevin Harwell <kharwell@digium.com>
Tue, 20 Aug 2019 20:05:45 +0000 (15:05 -0500)
committerKevin Harwell <kharwell@digium.com>
Thu, 29 Aug 2019 22:14:38 +0000 (17:14 -0500)
commitf361e65dc2c90aaee9472f97b54083e0a2d49303
treec865894640cb1e142130fa49d4ff9dc08da6b192
parentc576167c4254a0e428c1f7a8700a0facdc3a8087
AST-2019-004 - res_pjsip_t38.c: Add NULL checks before using session media

After receiving a 200 OK with a declined stream in response to a T.38
initiated re-invite Asterisk would crash when attempting to dereference
a NULL session media object.

This patch checks to make sure the session media object is not NULL before
attempting to use it.

ASTERISK-28495
patches:
  ast-2019-004.patch submitted by Alexei Gradinari (license 5691)

Change-Id: I168f45f4da29cfe739acf87e597baa2aae7aa572
res/res_pjsip_t38.c