Files
asterisk/main
Richard Mudgett 1ba13718fc assigned-uniqueids: Miscellaneous cleanup and fixes.
* Fix memory leak in ast_unreal_new_channels().  Made it generate the ;2
uniqueid on a stack variable instead of mallocing it.

* Made send error response to ARI and AMI requests instead of just logging
excessive uniqueid length and allowing truncation.  action_originate() and
ari_channels_handle_originate_with_id().

* Fixed minor truncating uniqueid hole when generating the ;2 uniqueid
string length.  Created public and internal lengths of uniqueid.  The
internal length can handle a max public uniqueid plus an appended ;2.

* free() and ast_free() are NULL tolerant so they don't need a NULL test
before calling.

* Made use better struct initialization format instead of the position
dependent initialization format.  Also anything not explicitly initialized
in the struct is initialized to zero by the compiler.

* Made ast_channel_internal_set_fake_ids() use the safer
ast_copy_string() instead of strncpy().

Review: https://reviewboard.asterisk.org/r/3371/
........

Merged revisions 410949 from http://svn.asterisk.org/svn/asterisk/branches/12


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@410950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-03-20 16:35:57 +00:00
..
2012-06-15 16:20:16 +00:00
2013-08-01 17:07:52 +00:00
2012-03-24 02:42:42 +00:00
2012-09-21 17:14:59 +00:00
2013-08-20 15:36:10 +00:00
2014-03-04 16:55:43 +00:00
2012-06-15 16:20:16 +00:00
2013-08-28 16:09:12 +00:00
2013-07-04 13:06:15 +00:00
2012-03-22 19:51:16 +00:00
2013-06-29 00:18:57 +00:00
2012-10-18 14:17:40 +00:00
2012-03-22 19:51:16 +00:00
2013-09-10 18:05:47 +00:00
2014-01-17 21:33:26 +00:00
2012-06-15 16:20:16 +00:00
2013-08-16 16:26:11 +00:00
2013-09-10 18:05:47 +00:00
2012-12-11 22:25:21 +00:00
2012-06-15 16:20:16 +00:00
2014-02-13 15:51:22 +00:00
2013-08-23 21:49:47 +00:00
2012-04-28 01:33:49 +00:00
2013-08-30 19:22:59 +00:00
2013-10-04 21:41:58 +00:00
2013-10-04 21:41:58 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2013-12-20 21:18:00 +00:00
2014-02-11 20:17:42 +00:00
2012-09-21 17:14:59 +00:00
2013-12-20 19:06:57 +00:00
2014-02-28 23:31:58 +00:00
2012-12-11 22:25:21 +00:00
2012-06-15 16:20:16 +00:00
2012-09-21 17:14:59 +00:00
2013-02-14 18:47:56 +00:00
2012-06-15 16:20:16 +00:00