Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-15-SP2:GA
oniguruma.34712
6eb4aca6a7f2f60f473580576d86686ed6a6ebec.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 6eb4aca6a7f2f60f473580576d86686ed6a6ebec.patch of Package oniguruma.34712
From 6eb4aca6a7f2f60f473580576d86686ed6a6ebec Mon Sep 17 00:00:00 2001 From: "K.Kosako" <kosako@sofnec.co.jp> Date: Wed, 6 Nov 2019 17:32:29 +0900 Subject: [PATCH] fix #162: heap-buffer-overflow in fetch_interval_quantifier due to double PFETCH --- src/regparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: onig-6.7.0/src/regparse.c =================================================================== --- onig-6.7.0.orig/src/regparse.c +++ onig-6.7.0/src/regparse.c @@ -3125,7 +3125,7 @@ fetch_range_quantifier(UChar** src, UCha if (PEND) goto invalid; PFETCH(c); if (IS_SYNTAX_OP(env->syntax, ONIG_SYN_OP_ESC_BRACE_INTERVAL)) { - if (c != MC_ESC(env->syntax)) goto invalid; + if (c != MC_ESC(env->syntax) || PEND) goto invalid; PFETCH(c); } if (c != '}') goto invalid;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor