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

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


Modified Paths:
--------------
    code/trunk/ChangeLog
    code/trunk/src/pcre2_compile.c


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2015-06-08 17:51:54 UTC (rev 281)
+++ code/trunk/ChangeLog    2015-06-09 16:33:44 UTC (rev 282)
@@ -148,7 +148,10 @@


37. There was no check for integer overflow in subroutine calls such as (?123).

+38. 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 10.10 06-March-2015
---------------------------


Modified: code/trunk/src/pcre2_compile.c
===================================================================
--- code/trunk/src/pcre2_compile.c    2015-06-08 17:51:54 UTC (rev 281)
+++ code/trunk/src/pcre2_compile.c    2015-06-09 16:33:44 UTC (rev 282)
@@ -330,7 +330,7 @@
 static const short int escapes[] = {
 /*  80 */            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,