Files
asterisk/main
Mark Michelson 3e2a2ac24f 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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@375026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-10-15 21:06:42 +00:00
..
2012-05-18 14:01:56 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-03-24 02:38:59 +00:00
2012-03-24 02:38:59 +00:00
2012-03-24 02:38:59 +00:00
2012-03-24 02:38:59 +00:00
2012-06-15 16:07:08 +00:00
2012-09-14 18:28:40 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-07-06 15:23:28 +00:00
2012-10-02 01:09:39 +00:00
2012-10-02 01:09:39 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-10-02 01:09:39 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-10-02 01:09:39 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-10-05 20:23:14 +00:00
2012-06-11 14:11:14 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-09-25 23:08:46 +00:00
2012-06-15 16:07:08 +00:00
2011-10-11 18:41:05 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00
2012-06-15 16:07:08 +00:00