Files
asterisk/include/asterisk
Mark Michelson e9ab568f88 Fix some potential misuses of ast_str in the code.
Passing an ast_str pointer by value that then calls
ast_str_set(), ast_str_set_va(), ast_str_append(), or
ast_str_append_va() can result in the pointer originally
passed by value being invalidated if the ast_str had
to be reallocated.

This fixes places in the code that do this. Only the
example in ccss.c could result in pointer invalidation
though since the other cases use a stack-allocated ast_str
and cannot be reallocated.

I've also updated the doxygen in strings.h to include
notes about potential misuse of the functions mentioned
previously.

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

Merged revisions 375025 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 375026 from http://svn.asterisk.org/svn/asterisk/branches/10
........

Merged revisions 375027 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@375044 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-10-15 21:25:29 +00:00
..
2012-09-22 20:43:30 +00:00
2012-09-21 17:14:59 +00:00
2012-06-25 15:55:25 +00:00
2007-12-11 14:17:29 +00:00
2010-06-02 18:10:15 +00:00
2012-09-21 17:14:59 +00:00
2009-04-29 18:53:01 +00:00
2010-06-08 14:38:18 +00:00
2012-10-02 01:47:16 +00:00
2006-11-15 20:55:17 +00:00
2012-08-30 14:23:28 +00:00
2012-08-30 14:23:28 +00:00
2012-08-30 14:23:28 +00:00
2011-12-16 21:10:19 +00:00
2012-08-30 14:23:28 +00:00
2012-08-30 14:23:28 +00:00
2012-08-30 14:23:28 +00:00
2012-08-30 14:23:28 +00:00
2012-10-01 23:39:45 +00:00
2012-08-30 14:23:28 +00:00
2012-08-30 14:23:28 +00:00
2012-09-22 20:43:30 +00:00
2012-07-20 15:48:55 +00:00
2012-08-30 14:23:28 +00:00
2008-07-21 21:00:47 +00:00
2012-08-30 14:23:28 +00:00
2010-06-08 14:38:18 +00:00
2009-03-18 02:28:55 +00:00
2012-09-21 17:14:59 +00:00
2012-09-21 17:14:59 +00:00
2012-08-21 19:04:32 +00:00
2012-08-30 14:23:28 +00:00
2012-08-30 14:23:28 +00:00
2012-10-11 22:39:02 +00:00
2009-06-15 16:07:23 +00:00
2012-08-30 14:23:28 +00:00
2012-09-22 20:43:30 +00:00
2012-08-30 14:23:28 +00:00
2012-09-21 17:14:59 +00:00
2012-02-24 15:10:35 +00:00
2010-08-30 08:25:50 +00:00
2011-10-11 19:06:29 +00:00
2010-06-08 14:38:18 +00:00
2010-06-08 14:38:18 +00:00
2007-12-11 22:20:22 +00:00
2012-08-30 14:23:28 +00:00
2007-12-11 22:20:22 +00:00
2010-06-08 14:38:18 +00:00
2012-06-25 17:59:34 +00:00
2012-09-22 20:43:30 +00:00