summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2011-09-20 22:54:21 +0000
committerRichard Mudgett <rmudgett@digium.com>2011-09-20 22:54:21 +0000
commit1313c1284700f2cb9882b4390989e10a4b51df00 (patch)
tree2b9672cb1f70a5537732da447c4e8f973cc8bc6a /include/asterisk
parent38a7c68851348076deadf336e6e47f13ac16aa3e (diff)
Merged revisions 337119 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10 ........ r337119 | rmudgett | 2011-09-20 17:47:45 -0500 (Tue, 20 Sep 2011) | 16 lines Fix crash with STRREPLACE function. The ast_func_read() function calls the .read2 callback with the len parameter set to zero indicating no size restrictions on the supplied ast_str buffer. The value was used to dimension a local starts[] array with the array subsequently used. * Reworked the strreplace() function to perform the string replacement in a straight forward manner. Eliminated the need for the starts[] array. (closes issue ASTERISK-18545) Reported by: Federico Alves Patches: jira_asterisk_18545_v10.patch (license #5621) patch uploaded by rmudgett Tested by: rmudgett, Federico Alves ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@337123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
0 files changed, 0 insertions, 0 deletions