diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-29 14:29:18 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-29 14:29:18 +0000 |
commit | 96322a96fef8de07ce7e7e38eb336103f9d3b380 (patch) | |
tree | df3266d37be0924307cf8495c1ed6fbff5b711ee /main/utils.c | |
parent | 87971c627a529c5c37bf911ab43cf48244a38880 (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: http://svn.digium.com/svn/asterisk/trunk@87295 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/utils.c')
-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; } } |