asterisk/channels
Kinsey Moore 95bc7626aa chan_dahdi: Fix crash during caller ID read
Asterisk will sometimes core dump during caller id read on analog
channels due to a negative return value from the read() in
my_get_callerid that slips through as a negative length argument to
callerid_feed() if the errno returned by DAHDI is ELAST. This change
ensures that the negative return is treated properly even when it is
ELAST.

(closes issue ASTERISK-22746)
Reported by: Michael Walton
Patches:
    chan_dahdi_cid_crash_fix.r401410.patch uploaded by Michael Walton (License 6502)
........

Merged revisions 402708 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 402709 from http://svn.asterisk.org/svn/asterisk/branches/11
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-11-12 15:03:18 +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 Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +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
sip chan_sip: keep same local (from) tag for outgoing register requests 2013-11-08 23:07:50 +00:00
chan_alsa.c Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +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 Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +00:00
chan_dahdi.c chan_dahdi: Fix crash during caller ID read 2013-11-12 15:03:18 +00:00
chan_dahdi.h chan_dahdi: Add config support for hwgain settings. 2013-10-14 22:52:42 +00:00
chan_gtalk.c Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +00:00
chan_h323.c Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +00:00
chan_iax2.c chan_iax2: Fix incorrect usage of ast_get_ip involving uninitialized struct 2013-11-05 21:14:42 +00:00
chan_jingle.c Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +00:00
chan_mgcp.c chan_mgcp: Properly handle malformed media lines 2013-10-23 15:23:58 +00:00
chan_misdn.c Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +00:00
chan_motif.c Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +00:00
chan_multicast_rtp.c Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +00:00
chan_nbs.c Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +00:00
chan_oss.c Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +00:00
chan_phone.c Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +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_messaging: Added debug for in dialog messaging 2013-10-30 17:54:26 +00:00
chan_sip.c chan_sip: keep same local (from) tag for outgoing register requests 2013-11-08 23:07:50 +00:00
chan_skinny.c Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +00:00
chan_unistim.c Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +00:00
chan_vpb.cc chan_vpb: Make compile again. 2013-10-03 16:28:35 +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
Makefile chan_dahdi: Add some missing build cleanup. 2013-08-26 16:15:02 +00:00
misdn_config.c Add named callgroups/pickupgroups 2012-08-07 12:46:36 +00:00
sig_analog.c chan_dahdi: Fix analog parking using flash-hook. 2013-10-01 21:19:13 +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 Reduce channel snapshot creation and publishing by up to 50%. 2013-10-02 16:23:34 +00:00
sig_pri.h Strip down the old event system 2013-08-17 14:39:27 +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