dect
/
asterisk
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
asterisk/res
mmichelson 5984d97a09 Merged revisions 260345 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r260345 | mmichelson | 2010-04-30 15:08:15 -0500 (Fri, 30 Apr 2010) | 18 lines
  
  Fix potential crash from race condition due to accessing channel data without the channel locked.
  
  In res_musiconhold.c, there are several places where a channel's
  stream's existence is checked prior to calling ast_closestream on it. The issue
  here is that in several cases, the channel was not locked while checking the
  stream. The result was that if two threads checked the state of the channel's
  stream at approximately the same time, then there could be a situation where
  both threads attempt to call ast_closestream on the channel's stream. The result
  here is that the refcount for the stream would go below 0, resulting in a crash.
  
  I have added proper channel locking to res_musiconhold.c to ensure that
  we do not try to check chan->stream without the channel locked. A Digium customer
  has been using this patch for several weeks and has not had any crashes since
  applying the patch.
  
  ABE-2147
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@260346 f38db490-d61c-443f-a65b-d21fe96a405b
2010-04-30 20:11:02 +00:00
..
ael When we call a gosub routine, the variables should be scoped to avoid contaminating the caller. 2009-10-06 19:17:11 +00:00
ais Merge the new Channel Event Logging (CEL) subsystem. 2009-06-26 15:28:53 +00:00
snmp Consolidate ast_channel.cid.cid_rdnis into ast_channel.redirecting.from.number. 2010-04-03 02:12:33 +00:00
Makefile Change per-file debug and verbose levels to be per-module, the way 2010-03-23 14:22:27 +00:00
res_adsi.c More 32->64 bit codec conversions. 2009-12-01 20:27:37 +00:00
res_adsi.exports.in Allow symbol export filtering to work properly on platforms that have symbol prefixes. 2010-04-02 18:57:58 +00:00
res_ael_share.c remove a bunch of useless #include "options.h" 2007-11-21 23:09:02 +00:00
res_ael_share.exports.in Allow symbol export filtering to work properly on platforms that have symbol prefixes. 2010-04-02 18:57:58 +00:00
res_agi.c Fix compile on systems without HAVE_NULLSAFE_PRINTF defined. 2010-04-27 22:47:36 +00:00
res_agi.exports.in Allow symbol export filtering to work properly on platforms that have symbol prefixes. 2010-04-02 18:57:58 +00:00
res_ais.c Mark res_ais as experimental, as the binary event format is subject to change. 2009-02-27 21:47:18 +00:00
res_calendar.c Fix INTERNAL_OBJ error on stop when calendars.conf missing 2010-01-25 18:01:08 +00:00
res_calendar.exports.in Allow symbol export filtering to work properly on platforms that have symbol prefixes. 2010-04-02 18:57:58 +00:00
res_calendar_caldav.c Fix the \brief description in the res_calendar_*.c files. 2010-04-21 13:26:28 +00:00
res_calendar_exchange.c Fix the \brief description in the res_calendar_*.c files. 2010-04-21 13:26:28 +00:00
res_calendar_icalendar.c Fix the \brief description in the res_calendar_*.c files. 2010-04-21 13:26:28 +00:00
res_clialiases.c Include an extra newline after "Aliased CLI command" to get back the prompt. 2010-03-16 19:36:24 +00:00
res_clioriginate.c Add new ast_complete_applications function so that we can use it with the 2009-05-26 14:36:11 +00:00
res_config_curl.c AST-2009-005 2009-08-10 19:20:57 +00:00
res_config_ldap.c Plug a memory leak in res_config_ldap. 2010-01-14 23:13:02 +00:00
res_config_odbc.c Verify support for wide ODBC character types before using them. 2009-09-10 18:17:14 +00:00
res_config_pgsql.c fixes pgsql double free of threadstorage 2009-11-10 15:27:45 +00:00
res_config_sqlite.c AST-2009-005 2009-08-10 19:20:57 +00:00
res_convert.c Merged revisions 196826 via svnmerge from 2009-05-26 18:20:57 +00:00
res_crypto.c Move OpenSSL initialization to a single place, make library usage thread-safe. 2009-07-08 15:17:19 +00:00
res_curl.c a few more namespace updates... res_ael_share still needs some work before this can be merged to other release branches 2009-03-18 02:39:36 +00:00
res_fax.c Update res_fax and res_fax_spandsp to be compatible with Fax For Asterisk 1.2. 2010-04-26 14:18:15 +00:00
res_fax.exports.in Allow symbol export filtering to work properly on platforms that have symbol prefixes. 2010-04-02 18:57:58 +00:00
res_fax_spandsp.c Update res_fax and res_fax_spandsp to be compatible with Fax For Asterisk 1.2. 2010-04-26 14:18:15 +00:00
res_features.exports.in Allow symbol export filtering to work properly on platforms that have symbol prefixes. 2010-04-02 18:57:58 +00:00
res_http_post.c Don't prepend the URI prefix to the post directory 2009-10-27 16:48:54 +00:00
res_jabber.c Prevent a crash when a buddy gets offline. 2010-03-18 15:59:19 +00:00
res_jabber.exports.in Allow symbol export filtering to work properly on platforms that have symbol prefixes. 2010-04-02 18:57:58 +00:00
res_limit.c Remove what appears to be an unnecessary define. 2009-09-08 15:30:18 +00:00
res_monitor.c Merged revisions 258775 via svnmerge from 2010-04-25 18:12:14 +00:00
res_monitor.exports.in Allow symbol export filtering to work properly on platforms that have symbol prefixes. 2010-04-02 18:57:58 +00:00
res_musiconhold.c Merged revisions 260345 via svnmerge from 2010-04-30 20:11:02 +00:00
res_mutestream.c Added MixMonitorMute manager command 2010-04-21 11:27:27 +00:00
res_odbc.c Remove ABI differences that occured when compiling with DEBUG_THREADS. 2010-04-22 19:08:01 +00:00
res_odbc.exports.in Allow symbol export filtering to work properly on platforms that have symbol prefixes. 2010-04-02 18:57:58 +00:00
res_phoneprov.c Instead of crashing, allocate our header ast_str before we try to use it. 2010-01-24 21:49:17 +00:00
res_pktccops.c Socket level option is SOL_SOCKET, not SO_SOCKET. 2010-01-11 23:19:51 +00:00
res_pktccops.exports.in Allow symbol export filtering to work properly on platforms that have symbol prefixes. 2010-04-02 18:57:58 +00:00
res_realtime.c Clarify documentation on 'realtime update2' to show more than one condition. 2009-07-22 16:49:42 +00:00
res_rtp_asterisk.c Recorded merge of revisions 254452 via svnmerge from 2010-03-25 16:04:48 +00:00
res_rtp_multicast.c Expand codec bitfield from 32 bits to 64 bits. 2009-11-04 14:05:12 +00:00
res_security_log.c Add an API for reporting security events, and a security event logging module. 2009-07-11 19:15:03 +00:00
res_smdi.c Convert a few places to use ast_calloc_with_stringfields where applicable. 2010-01-15 18:21:50 +00:00
res_smdi.exports.in Allow symbol export filtering to work properly on platforms that have symbol prefixes. 2010-04-02 18:57:58 +00:00
res_snmp.c More 'static' qualifiers on module global variables. 2009-06-15 17:34:30 +00:00
res_speech.c Revert an errant part of a previous cleanup, to fix a memory corruption issue. 2010-02-18 23:13:46 +00:00
res_speech.exports.in Allow symbol export filtering to work properly on platforms that have symbol prefixes. 2010-04-02 18:57:58 +00:00
res_timing_dahdi.c module load priority 2009-06-09 16:22:04 +00:00
res_timing_pthread.c module load priority 2009-06-09 16:22:04 +00:00
res_timing_timerfd.c Clarify error message in res_timing_timerfd. 2010-01-15 22:07:31 +00:00