dect
/
asterisk
Archived
13
0
Fork 0

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
This commit is contained in:
file 2007-10-29 14:29:18 +00:00
parent 87971c627a
commit 96322a96fe
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}
}