29 lines
879 B
Diff
29 lines
879 B
Diff
From 04f6668a09c51cf10fa5514019843ab0af9724c8 Mon Sep 17 00:00:00 2001
|
|
From: Philip Hazel <Philip.Hazel@gmail.com>
|
|
Date: Tue, 21 Nov 2023 15:10:34 +0000
|
|
Subject: [PATCH] Fix another oversight in c1306126
|
|
|
|
---
|
|
src/pcre2_compile.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/src/pcre2_compile.c b/src/pcre2_compile.c
|
|
index 9e45580..7b522c5 100644
|
|
--- a/src/pcre2_compile.c
|
|
+++ b/src/pcre2_compile.c
|
|
@@ -3108,8 +3108,11 @@ while (ptr < ptrend)
|
|
!read_repeat_counts(&tempptr, ptrend, NULL, NULL, &errorcode))))
|
|
{
|
|
if (after_manual_callout-- <= 0)
|
|
+ {
|
|
parsed_pattern = manage_callouts(thisptr, &previous_callout, auto_callout,
|
|
parsed_pattern, cb);
|
|
+ this_parsed_item = parsed_pattern; /* New start for current item */
|
|
+ }
|
|
}
|
|
|
|
/* If expect_cond_assert is 2, we have just passed (?( and are expecting an
|
|
--
|
|
2.33.0
|
|
|