[Pcre-svn] [1191] code/trunk: Fix ARMv5 JIT improper handlin…

Kezdőlap
Üzenet törlése
Szerző: Subversion repository
Dátum:  
Címzett: pcre-svn
Tárgy: [Pcre-svn] [1191] code/trunk: Fix ARMv5 JIT improper handling of labels right after a constant pool.
Revision: 1191
          http://www.exim.org/viewvc/pcre2?view=rev&revision=1191
Author:   zherczeg
Date:     2019-11-29 11:03:10 +0000 (Fri, 29 Nov 2019)
Log Message:
-----------
Fix ARMv5 JIT improper handling of labels right after a constant pool.


Modified Paths:
--------------
    code/trunk/ChangeLog
    code/trunk/src/sljit/sljitNativeARM_32.c


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2019-11-28 11:35:08 UTC (rev 1190)
+++ code/trunk/ChangeLog    2019-11-29 11:03:10 UTC (rev 1191)
@@ -6,7 +6,9 @@


1. Use PCRE2_MATCH_EMPTY flag to detect empty matches in JIT.

+2. Fix ARMv5 JIT improper handling of labels right after a constant pool.

+
Version 10.34 21-November-2019
------------------------------


Modified: code/trunk/src/sljit/sljitNativeARM_32.c
===================================================================
--- code/trunk/src/sljit/sljitNativeARM_32.c    2019-11-28 11:35:08 UTC (rev 1190)
+++ code/trunk/src/sljit/sljitNativeARM_32.c    2019-11-29 11:03:10 UTC (rev 1191)
@@ -666,6 +666,8 @@
                             label->addr = (sljit_uw)SLJIT_ADD_EXEC_OFFSET(code_ptr, executable_offset);
                             label->size = code_ptr - code;
                             label = label->next;
+
+                            next_addr = compute_next_addr(label, jump, const_, put_label);
                         }
                     }
                 }