]> git.ipfire.org Git - thirdparty/asterisk.git/commit
PJSIP FAX: Fix T.38 automatic reject timer NULL channel pointer dereferences. 01/801/1
authorRichard Mudgett <rmudgett@digium.com>
Fri, 26 Jun 2015 15:36:19 +0000 (10:36 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 6 Jul 2015 20:38:05 +0000 (15:38 -0500)
commit8ea214aed782424a884b9a2f67d6dca270854e83
tree2e637f4ecd93d9bc413b8ea88ef230dca38a35d1
parentcba550df7aea4fdac8a182215ddacb555824e088
PJSIP FAX: Fix T.38 automatic reject timer NULL channel pointer dereferences.

When a caller calls a FAX number and then hangs up right after the call is
answered then the T.38 re-INVITE automatic reject timer may still be
running after the channel goes away.

* Added session NULL channel checks on the code paths that get executed by
t38_automatic_reject() to prevent a crash when the T.38 re-INVITE
automatic reject timer expires.

ASTERISK-25168
Reported by: Carl Fortin

Change-Id: I07b6cd23815aedce5044f8f32543779e2f7a2403
res/res_pjsip_session.c
res/res_pjsip_t38.c