asterisk/res
David Vossel 51e7ee235b fixes crash during dtmf
During the processing of Cisco dtmf the dtmf samples were
not being calculated correctly.  In an attempt to determine
what sample rate was being used, a NULL frame was processed
which caused a crash.  This patch resolves this.

(closes issue #17248)
Reported by: falves11
Patches:
      issue_17248.diff uploaded by dvossel (license 671)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@264114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-05-19 14:38:02 +00:00
..
ael Revert previous WARNING message removal. 2010-05-12 19:53:10 +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 Merged revisions 262421 via svnmerge from 2010-05-11 19:57:24 +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 fixes crash during dtmf 2010-05-19 14:38:02 +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_kqueue.c Make happy green color come back 2010-05-18 20:49:00 +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