asterisk/channels
Naveen Albert 97f400100c chan_sip: Fix crash when accessing RURI before initiating outgoing call
Attempting to access ${CHANNEL(ruri)} in a pre-dial handler before
initiating an outgoing call will cause Asterisk to crash. This is
because a null field is accessed, resulting in an offset from null and
subsequent memory access violation.

Since RURI is not guaranteed to exist, we now check if the base
pointer is non-null before calculating an offset.

ASTERISK-29772

Change-Id: Icd3b02f07256bbe6615854af5717074087b95a83
2021-12-13 13:39:26 -06:00
..
dahdi channels: Fix for Doxygen. 2021-11-19 09:02:06 -06:00
iax2 progdocs: Fix for Doxygen, the hidden parts. 2021-12-02 10:37:38 -06:00
pjsip chan_pjsip: disallow PJSIP_SEND_SESSION_REFRESH pre-answer execution 2020-08-28 13:21:48 -05:00
sip chan_sip: Fix crash when accessing RURI before initiating outgoing call 2021-12-13 13:39:26 -06:00
Makefile chan_misdn: Remove deprecated module. 2021-08-17 10:37:40 -03:00
chan_alsa.c chan_alsa, chan_sip: Add replacement to moduleinfo 2021-08-19 07:58:39 -05:00
chan_audiosocket.c Compiler fixes for GCC with -Og 2020-11-03 17:08:07 -06:00
chan_bridge_media.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
chan_console.c channels: Fix for Doxygen. 2021-11-19 09:02:06 -06:00
chan_dahdi.c progdocs: Fix for Doxygen, the hidden parts. 2021-12-02 10:37:38 -06:00
chan_dahdi.h sig_analog: Changes to improve electromechanical signalling compatibility 2021-08-20 12:26:18 -07:00
chan_iax2.c channels: Fix for Doxygen. 2021-11-19 09:02:06 -06:00
chan_mgcp.c channels: Spelling fixes 2021-11-16 05:35:29 -06:00
chan_motif.c channels: Fix for Doxygen. 2021-11-19 09:02:06 -06:00
chan_phone.h Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
chan_pjsip.c channels: Fix for Doxygen. 2021-11-19 09:02:06 -06:00
chan_rtp.c channels: Spelling fixes 2021-11-16 05:35:29 -06:00
chan_sip.c progdocs: Fix grouping for latest Doxygen. 2021-12-02 10:26:08 -06:00
chan_skinny.c channels: Spelling fixes 2021-11-16 05:35:29 -06:00
chan_unistim.c channels: Spelling fixes 2021-11-16 05:35:29 -06:00
console_board.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
console_gui.c channels: Spelling fixes 2021-11-16 05:35:29 -06:00
console_video.c channels: Spelling fixes 2021-11-16 05:35:29 -06:00
console_video.h Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00
sig_analog.c channels: Fix for Doxygen. 2021-11-19 09:02:06 -06:00
sig_analog.h sig_analog: Changes to improve electromechanical signalling compatibility 2021-08-20 12:26:18 -07:00
sig_pri.c progdocs: Fix for Doxygen, the hidden parts. 2021-12-02 10:37:38 -06:00
sig_pri.h progdocs: Fix for Doxygen, the hidden parts. 2021-12-02 10:37:38 -06:00
sig_ss7.c progdocs: Fix for Doxygen, the hidden parts. 2021-12-02 10:37:38 -06:00
sig_ss7.h channels: Spelling fixes 2021-11-16 05:35:29 -06:00
vcodecs.c channels: Spelling fixes 2021-11-16 05:35:29 -06:00
vgrabbers.c Remove as much trailing whitespace as possible. 2017-12-22 09:23:22 -05:00