[asterisk-commits] murf: trunk r168746 - in /trunk: ./ res/ael/pval.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 15 18:34:31 CST 2009


Author: murf
Date: Thu Jan 15 18:34:31 2009
New Revision: 168746

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=168746
Log:
Merged revisions 168745 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r168745 | murf | 2009-01-15 17:19:12 -0700 (Thu, 15 Jan 2009) | 14 lines
  
  This patch fixes a problem where a goto (or jump, in this case)
  fails a consistency check because it can't find a matching 
  extension. The problem was a missing instruction to end
  the range notation in the code where it converts the pattern
  into a regex and uses the regex code to determine the match.
  
  I tested using the AEL code the user supplied, and now,
  the consistency check passes.
  
  
  (closes issue #14141)
  Reported by: dimas
........

Modified:
    trunk/   (props changed)
    trunk/res/ael/pval.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/res/ael/pval.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/res/ael/pval.c?view=diff&rev=168746&r1=168745&r2=168746
==============================================================================
--- trunk/res/ael/pval.c (original)
+++ trunk/res/ael/pval.c Thu Jan 15 18:34:31 2009
@@ -745,6 +745,7 @@
 				while ( *p && *p != ']' ) {
 					*r++ = *p++;
 				}
+				*r++ = ']';
 				if ( *p != ']') {
 					ast_log(LOG_WARNING, "Warning: file %s, line %d-%d: The extension pattern '%s' is missing a closing bracket \n",
 							here->filename, here->startline, here->endline, pattern);




More information about the asterisk-commits mailing list