asterisk/channels
Mark Michelson b3970abc30 Merged revisions 136062 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r136062 | mmichelson | 2008-08-06 10:58:40 -0500 (Wed, 06 Aug 2008) | 16 lines

Since adding the AST_CONTROL_SRCUPDATE frame type,
there are places where ast_rtp_new_source may be called
where the tech_pvt of a channel may not yet have an
rtp structure allocated. This caused a crash in chan_skinny,
which was fixed earlier, but now the same crash has been 
reported against chan_h323 as well. It seems that the best 
solution is to modify ast_rtp_new_source to not attempt to 
set the marker bit if the rtp structure passed in is NULL.

This change to ast_rtp_new_source also allows the removal
of what is now a redundant pointer check from chan_skinny.

(closes issue #13247)
Reported by: pj


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-06 15:59:29 +00:00
..
h323 Swap "static" and "const", so that "static" appears at the beginning of each 2008-07-14 15:44:07 +00:00
misdn use correct function name... please compile with --enable-dev-mode 2008-07-23 16:38:28 +00:00
xpmr Compile under dev-mode, please. 2008-05-16 17:08:59 +00:00
Makefile Bring all app_rpt and chan_usbradio stuff up to date 2008-05-16 00:51:14 +00:00
chan_agent.c Deprecate *_device_state_* APIs in favor of *_devstate_* APIs 2008-07-25 21:20:03 +00:00
chan_alsa.c Merged revisions 118953 via svnmerge from 2008-05-29 17:35:19 +00:00
chan_console.c Be explicit that we don't want a result from this callback. The callback would 2008-08-04 15:02:12 +00:00
chan_dahdi.c build against the now-typedef-free dahdi/user.h, and remove some #ifdefs for features that will always be present in DAHDI 2008-07-29 22:22:13 +00:00
chan_features.c More expansion of the deadlock avoidance macro, including a macro to do locking 2008-06-25 02:34:11 +00:00
chan_gtalk.c Janitor patch to change uses of sizeof to ARRAY_LEN 2008-07-11 18:09:35 +00:00
chan_h323.c More expansion of the deadlock avoidance macro, including a macro to do locking 2008-06-25 02:34:11 +00:00
chan_iax2.c Merged revisions 135747 via svnmerge from 2008-08-05 21:37:35 +00:00
chan_jingle.c Janitor patch to change uses of sizeof to ARRAY_LEN 2008-07-11 18:09:35 +00:00
chan_local.c Revert half of the fix, as this part may have been unnecessary (related to issue #12914) 2008-06-27 16:00:05 +00:00
chan_mgcp.c Remove some code that used to do something but does not anymore, mainly 2008-08-01 19:29:26 +00:00
chan_misdn.c oops 2008-05-22 17:08:18 +00:00
chan_nbs.c one more place I forgot 2008-05-22 17:50:40 +00:00
chan_oss.c implement the 'freeze' function for incoming frames; 2008-06-30 15:45:15 +00:00
chan_phone.c 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_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_sip.c Picky, picky, buildbot 2008-08-01 17:09:50 +00:00
chan_skinny.c Merged revisions 136062 via svnmerge from 2008-08-06 15:59:29 +00:00
chan_unistim.c Swap "static" and "const", so that "static" appears at the beginning of each 2008-07-14 15:44:07 +00:00
chan_usbradio.c Split the compile flags out and wire up some dependencies 2008-05-22 21:43:54 +00:00
chan_vpb.cc Fix trunk breakage 2008-05-22 21:27:00 +00:00
console_board.c import the recent additions for video console into trunk, 2008-06-29 21:17:14 +00:00
console_gui.c implement the 'freeze' function for incoming frames; 2008-06-30 15:45:15 +00:00
console_video.c use ast_pthread_create_detached_background() instead of redoing 2008-07-14 16:50:24 +00:00
console_video.h implement the 'freeze' function for incoming frames; 2008-06-30 15:45:15 +00:00
iax2-parser.c Merge changes from team/bbryant/keyrotation 2008-08-01 18:16:24 +00:00
iax2-parser.h Improve native transfers when a chain of IAX2 connections are in use. 2008-05-17 19:39:35 +00:00
iax2-provision.c Janitor project to convert sizeof to ARRAY_LEN macro. 2008-07-08 16:40:28 +00:00
iax2-provision.h Don't reload a configuration file if nothing has changed. 2007-08-16 21:09:46 +00:00
iax2.h Merge changes from team/bbryant/keyrotation 2008-08-01 18:16:24 +00:00
misdn_config.c Oops, missed one 2008-03-26 20:34:05 +00:00
vcodecs.c make this compile after ast_frame's data field changed to a union 2008-06-29 12:45:59 +00:00
vgrabbers.c free memory used by the x11 grabber when closing it. 2008-07-14 16:50:54 +00:00