Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
oniguruma.34712
cbe9f8bd9cfc6c3c87a60fbae58fa1a85db59df0.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cbe9f8bd9cfc6c3c87a60fbae58fa1a85db59df0.patch of Package oniguruma.34712
From cbe9f8bd9cfc6c3c87a60fbae58fa1a85db59df0 Mon Sep 17 00:00:00 2001 From: "K.Kosako" <kkosako0@gmail.com> Date: Mon, 21 Sep 2020 12:58:29 +0900 Subject: [PATCH] #207: Out-of-bounds write --- src/regcomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: onig-6.7.0/src/regcomp.c =================================================================== --- onig-6.7.0.orig/src/regcomp.c +++ onig-6.7.0/src/regcomp.c @@ -5244,7 +5244,7 @@ concat_opt_exact_str(OptExact* to, UChar for (i = to->len, p = s; p < end && i < OPT_EXACT_MAXLEN; ) { len = enclen(enc, p); - if (i + len > OPT_EXACT_MAXLEN) break; + if (i + len >= OPT_EXACT_MAXLEN) break; for (j = 0; j < len && p < end; j++) to->s[i++] = *p++; }
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