[Pcre-svn] [1564] code/trunk: Fix table entry for \l in EBCD…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [1564] code/trunk: Fix table entry for \l in EBCDIC environments.
Revision: 1564
          http://vcs.pcre.org/viewvc?view=rev&revision=1564
Author:   ph10
Date:     2015-06-09 17:33:27 +0100 (Tue, 09 Jun 2015)
Log Message:
-----------
Fix table entry for \l in EBCDIC environments.


Modified Paths:
--------------
    code/trunk/ChangeLog
    code/trunk/pcre_compile.c


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2015-06-08 17:55:54 UTC (rev 1563)
+++ code/trunk/ChangeLog    2015-06-09 16:33:27 UTC (rev 1564)
@@ -40,7 +40,10 @@
     fixed by always allowing for more memory, even if not needed. (A proper fix 
     is implemented in PCRE2, but it involves more refactoring.) 


-8.  There was no check for integer overflow in subroutine calls such as (?123). 
+8.  There was no check for integer overflow in subroutine calls such as (?123).
+
+9.  The table entry for \l in EBCDIC environments was incorrect, leading to its
+    being treated as a literal 'l' instead of causing an error. 



Version 8.37 28-April-2015

Modified: code/trunk/pcre_compile.c
===================================================================
--- code/trunk/pcre_compile.c    2015-06-08 17:55:54 UTC (rev 1563)
+++ code/trunk/pcre_compile.c    2015-06-09 16:33:27 UTC (rev 1564)
@@ -204,7 +204,7 @@
 /*  78 */     0,   '`',    ':',     '#',    '@',  '\'',    '=',    '"',
 /*  80 */     0,     7, -ESC_b,       0, -ESC_d, ESC_e,  ESC_f,      0,
 /*  88 */-ESC_h,     0,      0,     '{',      0,     0,      0,      0,
-/*  90 */     0,     0, -ESC_k,     'l',      0, ESC_n,      0, -ESC_p,
+/*  90 */     0,     0, -ESC_k,       0,      0, ESC_n,      0, -ESC_p,
 /*  98 */     0, ESC_r,      0,     '}',      0,     0,      0,      0,
 /*  A0 */     0,   '~', -ESC_s, ESC_tee,      0,-ESC_v, -ESC_w,      0,
 /*  A8 */     0,-ESC_z,      0,       0,      0,   '[',      0,      0,