]> git.ipfire.org Git - thirdparty/asterisk.git/commit
AST-2018-005: Add a check for NULL tdata in ast_sip_failover_request
authorGeorge Joseph <gjoseph@digium.com>
Tue, 6 Feb 2018 17:21:32 +0000 (10:21 -0700)
committerGeorge Joseph <gjoseph@digium.com>
Wed, 21 Feb 2018 14:57:08 +0000 (07:57 -0700)
commitc8add33919eacc579a95c811a7f89cf672e7829f
tree29cdcfbb91ac3d9168fe9b18d0addd312320c5b2
parent6285575eac5ecd89ed1290e8124593a7e6a7a23e
AST-2018-005: Add a check for NULL tdata in ast_sip_failover_request

It was discovered that there are some corner cases where a pjsip tsx
might have no last_tx so calling ast_sip_failover_request with
a NULL last_tx as its tdata would cause a crash.

ASTERISK-27618
Reported By:  Sandro Gauci

Change-Id: Ic2b63f6d4ae617c4c19dcdec2a7a6156b54fd15b
res/res_pjsip.c