asterisk/channels
Richard Mudgett c9296b23d1 core: Cleanup ast_get_hint() usage.
* manager.c:manager_state_cb() Fix potential use of uninitialized hint[]
if a hint does not exist for the requested extension.  Ran into this when
developing a testsuite test.  The AMI event ExtensionStatus came out with
the hint header value containing garbage.  The AMI event PresenceStatus
also had the same issue.

* manager.c:action_extensionstate() no need to completely initialize the
hint[].  Only initialize the first element.

* pbx.c:ast_add_hint() Remove unnecessary assignment.

* chan_sip.c: Eliminate an unneeded hint[] local variable.  We only care
about the return value of ast_get_hint() there.

Change-Id: Ia9a8786f01f93f1f917200f0a50bead0319af97b
2017-03-02 21:46:51 -06:00
..
dahdi Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
iax2 Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
misdn Makefile: Remove coverage files on 'make clean' 2015-07-04 07:47:06 -05:00
pjsip chan_pjsip: Use session for retrieving CHANNEL() information. 2017-01-03 05:47:05 -06:00
sip Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
Makefile Makefile: Remove coverage files on 'make clean' 2015-07-04 07:47:06 -05:00
chan_alsa.c cli: Fix various CLI documentation and completion issues 2017-02-13 11:33:15 -05:00
chan_bridge_media.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
chan_console.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
chan_dahdi.c chan_dahdi.c: Fix bounds check regression. 2016-12-14 14:24:18 -06:00
chan_dahdi.h chan_dahdi: Add faxdetect_timeout option. 2016-07-19 10:33:45 -05:00
chan_iax2.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
chan_mgcp.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
chan_misdn.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
chan_motif.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
chan_nbs.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
chan_oss.c chan_oss.c: Fix format ref leak in oss_read(). 2017-01-24 13:39:27 -06:00
chan_phone.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04: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 chan_pjsip: Multidomain endpoint finding on call 2017-02-13 06:05:52 -06:00
chan_rtp.c chan_rtp.c: Fix uninitialized memory crash. 2016-12-22 12:25:15 -06:00
chan_sip.c core: Cleanup ast_get_hint() usage. 2017-03-02 21:46:51 -06:00
chan_skinny.c cli: Fix various CLI documentation and completion issues 2017-02-13 11:33:15 -05:00
chan_unistim.c chan_unistim: fix char type to have consistent behavior on ARM 2017-02-15 23:43:04 -06:00
chan_vpb.cc Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
console_board.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
console_gui.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
console_video.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
console_video.h implement the 'freeze' function for incoming frames; 2008-06-30 15:45:15 +00:00
misdn_config.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
sig_analog.c build_system: Fix some warnings highlighted by clang 2016-02-01 19:22:40 -06:00
sig_analog.h chan_dahdi/sig_analog: Fix distinctive ring detection to suck less. 2015-03-06 20:24:58 +00:00
sig_pri.c build: GCC 5.1.x catches some new const, array bounds and missing paren issues 2015-10-24 16:08:54 -05:00
sig_pri.h sig_pri.h: force_restart_unavailable_chans in wrong scope 2015-07-17 11:02:24 -05:00
sig_ss7.c Logger: Convert 'struct ast_callid' to unsigned int. 2015-03-13 01:12:35 +00:00
sig_ss7.h chan_dahdi: Adds support for major update to libss7. 2014-06-16 18:27:51 +00:00
vcodecs.c Fix printf problems with high ascii characters after r413586 (1.8). 2014-12-17 10:23:32 +00:00
vgrabbers.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00