diff options
author | Joshua Colp <jcolp@digium.com> | 2007-10-29 14:29:18 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-10-29 14:29:18 +0000 |
commit | 0769dd6e1e2ee804a82b790553c61e4d5646483f (patch) | |
tree | df3266d37be0924307cf8495c1ed6fbff5b711ee /main | |
parent | f5b9b7939767e5bc395ed7eadf84ea05e579e945 (diff) |
Merged revisions 87294 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r87294 | file | 2007-10-29 11:23:49 -0300 (Mon, 29 Oct 2007) | 6 lines
Fix issue with ast_unescape_semicolon going into an endless loop.
(closes issue #10550)
Reported by: ramonpeek
Patches:
unescape-85177-1.patch uploaded by IgorG (license 20)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87295 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r-- | main/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/utils.c b/main/utils.c index 34e4650e6..8e7808406 100644 --- a/main/utils.c +++ b/main/utils.c @@ -997,6 +997,8 @@ char *ast_unescape_semicolon(char *s) if ((e > work) && (*(e-1) == '\\')) { memmove(e - 1, e, strlen(e) + 1); work = e; + } else { + work = e + 1; } } |