Files
asterisk/main
Richard Mudgett 4271c700f7 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:43:23 -06:00
..
2015-01-30 16:47:50 +00:00
2015-03-25 18:37:04 +00:00
2016-06-22 12:21:11 -05:00
2016-08-24 11:02:47 -05:00
2016-07-14 15:54:21 -05:00
2016-08-24 11:02:47 -05:00
2016-08-24 11:02:47 -05:00
2016-09-20 12:01:57 -05:00
2017-03-02 21:43:23 -06:00
2016-11-01 12:37:58 -05:00
2017-03-02 21:43:23 -06:00
2015-01-26 14:49:32 +00:00
2016-08-15 13:09:30 -05:00