Tilghman Lesher
be40f3a33c
Merge changes from str_substitution that are unrelated to that branch.
...
Included is a small bugfix to an ast_str helper, but most of these changes
are simply doxygen fixes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@185912 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-01 20:13:28 +00:00
Tilghman Lesher
bfc0d3b795
Add MALLOC_DEBUG to various utility APIs, so that memory leaks can be tracked back to their source.
...
(related to issue #14636 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@181028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-11 00:29:59 +00:00
Tilghman Lesher
5b220b3e91
Handle negative length and eliminate a condition that is always true.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@177287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-18 23:51:35 +00:00
Tilghman Lesher
76b100354d
Might want to update the buffer pointer after a realloc (or we crash)
...
(closes issue #14485 )
Reported by: davevg
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@176360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-16 23:48:54 +00:00
Eliel C. Sardanons
344a37f2a7
Remove duplicate code from the ast_str API. We now use __AST_STR_* to
...
access 'struct ast_str' members, but this must only be used inside the API implementation.
(closes issue #14098 )
Reported by: eliel
Patches:
ast_str.patch uploaded by eliel (license 64)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@165502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-18 15:25:15 +00:00
Tilghman Lesher
c8223fc957
Merge ast_str_opaque branch (discontinue usage of ast_str internals)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@163991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-13 08:36:35 +00:00