[asterisk-commits] file: branch 1.4 r87294 - /branches/1.4/main/utils.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Oct 29 09:23:50 CDT 2007


Author: file
Date: Mon Oct 29 09:23:49 2007
New Revision: 87294

URL: http://svn.digium.com/view/asterisk?view=rev&rev=87294
Log:
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)

Modified:
    branches/1.4/main/utils.c

Modified: branches/1.4/main/utils.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/utils.c?view=diff&rev=87294&r1=87293&r2=87294
==============================================================================
--- branches/1.4/main/utils.c (original)
+++ branches/1.4/main/utils.c Mon Oct 29 09:23:49 2007
@@ -942,6 +942,8 @@
 		if ((e > work) && (*(e-1) == '\\')) {
 			memmove(e - 1, e, strlen(e) + 1);
 			work = e;
+		} else {
+			work = e + 1;
 		}
 	}
 




More information about the asterisk-commits mailing list