Files
asterisk/res
Kevin Harwell 12a0edac69 pjsip_messaging, pjsip_header_funcs: Crashes due to NULL pointer dereferences
Both res_pjsip_messaging and res_pjsip_header_funcs were causing asterisk to
crash because they were trying to dereference a NULL pointer.

In the case of res_pjsip_messaging it was attempting to "print" a contact
header that did not exist.  In fact contact headers should not be part of
a SIP MESSAGE, so the offending code was simply removed.

In the case of res_pjsip_header_funcs a null private channel tech was being
passed to the function and then later dereferenced.  Added null checks (and
error logging) to the read/write function handlers to guard against crashing.

(closes issue ASTERISK-22821)
Reported by: Anthony Messina
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-11-12 16:49:17 +00:00
..
2013-11-12 15:27:00 +00:00
2013-08-02 15:01:37 +00:00
2012-06-25 15:55:25 +00:00
2013-10-04 16:01:48 +00:00
2012-09-21 17:14:59 +00:00
2012-10-14 21:44:27 +00:00
2012-10-14 21:44:27 +00:00
2012-10-14 21:44:27 +00:00
2012-10-14 21:44:27 +00:00
2013-07-30 13:46:16 +00:00
2012-10-14 21:44:27 +00:00
2012-10-14 21:44:27 +00:00
2013-05-15 12:42:04 +00:00