Projects
home:FrozenHeart:branches:openEuler:24.03
my_pcre2
_service:tar_scm:backport-Fix-oversight-in-DFA-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-Fix-oversight-in-DFA-when-changing-OP_REVERSE-also-a.patch of Package my_pcre2
From b88126f42382fa470b6480f82489303d4311ce18 Mon Sep 17 00:00:00 2001 From: Philip Hazel <Philip.Hazel@gmail.com> Date: Thu, 16 Nov 2023 13:49:49 +0000 Subject: [PATCH] Fix oversight in DFA when changing OP_REVERSE; also add some unrelated tests Conflict:don't add unrelated tests --- src/pcre2_dfa_match.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pcre2_dfa_match.c b/src/pcre2_dfa_match.c index e90c984..5768407 100644 --- a/src/pcre2_dfa_match.c +++ b/src/pcre2_dfa_match.c @@ -591,7 +591,7 @@ if (*this_start_code == OP_ASSERTBACK || *this_start_code == OP_ASSERTBACK_NOT) end_code = this_start_code; do { - size_t back = (size_t)GET(end_code, 2+LINK_SIZE); + size_t back = (size_t)GET2(end_code, 2+LINK_SIZE); if (back > max_back) max_back = back; end_code += GET(end_code, 1); } -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2