asterisk/channels
Scott Griepentrog 5a46d69543 pjsip: avoid edge case potential crash in answer()
When accidentally compiling against a wrong version of
pjsip headers with a different pjsip_inv_session size,
the invite_tsx structure could be null in the answer()
function.  This led to a crash because it attempted to
send the session response with an uninitialized packet
pointer.  This patch presets packet to null and adds a
diagnostic log message to explain why the call fails.

Review: https://reviewboard.asterisk.org/r/3267/
........

Merged revisions 408970 from http://svn.asterisk.org/svn/asterisk/branches/12


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@408971 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-02-26 19:00:56 +00:00
..
dahdi bridge_native_dahdi: Return channel join failure if could not make the channels compatible. 2013-10-15 20:26:13 +00:00
h323 Voicemail: Remove mailbox identifier format (box@context) assumptions in the system. 2013-12-19 16:52:43 +00:00
iax2 chan_iax2: Fix compile error. 2013-10-05 00:59:17 +00:00
misdn Allow mISDN to send PROGRESS messsage. 2013-05-10 22:12:52 +00:00
pjsip pjsip/dialplan_functions: Use the right buffer length when printing URIs 2013-12-15 01:39:20 +00:00
sip chan_sip: Isolate code that manages struct sip_route. 2014-02-10 18:28:35 +00:00
Makefile channels/Makefile: clean pjsip directory 2013-12-13 05:00:53 +00:00
chan_alsa.c channel locking: Add locking for channel snapshot creation 2013-12-18 20:33:37 +00:00
chan_bridge_media.c Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +00:00
chan_console.c channel locking: Add locking for channel snapshot creation 2013-12-18 20:33:37 +00:00
chan_dahdi.c Fix chan_dahdi copile issue in dev-mode. 2014-01-09 23:50:07 +00:00
chan_dahdi.h Voicemail: Remove mailbox identifier format (box@context) assumptions in the system. 2013-12-19 16:52:43 +00:00
chan_gtalk.c channel locking: Add locking for channel snapshot creation 2013-12-18 20:33:37 +00:00
chan_h323.c Voicemail: Remove mailbox identifier format (box@context) assumptions in the system. 2013-12-19 16:52:43 +00:00
chan_iax2.c chan_iax2: Add some more iaxs[] NULL checks to a routine already full of them. 2014-02-07 20:52:40 +00:00
chan_jingle.c channel locking: Add locking for channel snapshot creation 2013-12-18 20:33:37 +00:00
chan_mgcp.c chan_mgcp: Enforce locking for oseq 2014-01-21 20:28:57 +00:00
chan_misdn.c channel locking: Add locking for channel snapshot creation 2013-12-18 20:33:37 +00:00
chan_motif.c channel locking: Add locking for channel snapshot creation 2013-12-18 20:33:37 +00:00
chan_multicast_rtp.c channels: Return allocated channels locked. 2013-12-18 19:28:05 +00:00
chan_nbs.c channels: Return allocated channels locked. 2013-12-18 19:28:05 +00:00
chan_oss.c chan_oss.c: channel being locked twice and unlocked once 2013-12-18 20:48:49 +00:00
chan_phone.c channel locking: Add locking for channel snapshot creation 2013-12-18 20:33:37 +00:00
chan_phone.h rename DialTone.h to chan_phone.h because chan_phone.c is the only file using it 2008-05-28 20:00:21 +00:00
chan_pjsip.c pjsip: avoid edge case potential crash in answer() 2014-02-26 19:00:56 +00:00
chan_sip.c chan_sip: prevent add_route from adding empty header. 2014-02-21 16:49:03 +00:00
chan_skinny.c Skinny - Fix deadlock when pickup of no call. 2014-02-04 02:07:18 +00:00
chan_unistim.c Implement functions handling keypress, display icons and text for i2004 KEM support. 2014-02-26 08:57:14 +00:00
chan_vpb.cc channel locking: Add locking for channel snapshot creation 2013-12-18 20:33:37 +00:00
console_board.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
console_gui.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
console_video.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
console_video.h implement the 'freeze' function for incoming frames; 2008-06-30 15:45:15 +00:00
misdn_config.c Add named callgroups/pickupgroups 2012-08-07 12:46:36 +00:00
sig_analog.c channel locking: Add locking for channel snapshot creation 2013-12-18 20:33:37 +00:00
sig_analog.h Convert sig_analog to use a global callback table. 2012-08-08 20:32:53 +00:00
sig_pri.c chan_dahdi/PRI: Suppress CONNECTED_LINE updates when nothing in the udpate is valid. 2014-01-20 22:23:00 +00:00
sig_pri.h Voicemail: Remove mailbox identifier format (box@context) assumptions in the system. 2013-12-19 16:52:43 +00:00
sig_ss7.c sig_ss7: Fix compiler warnings. 2013-10-02 17:10:39 +00:00
sig_ss7.h Convert sig_ss7 to use a global callback table. 2012-08-08 00:15:54 +00:00
vcodecs.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
vgrabbers.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00