Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
file
bsc1189996-9fbe768a.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsc1189996-9fbe768a.patch of Package file
From 9fbe768a87d3c4d46058e9cd2e190320815d931a Mon Sep 17 00:00:00 2001 From: Christos Zoulas <christos@zoulas.com> Date: Tue, 5 Sep 2017 20:41:59 +0000 Subject: [PATCH] Reset to the end of the buffer if not enough lines were found. Found by clusterfuzz. --- src/softmagic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- src/softmagic.c +++ src/softmagic.c 2021-09-07 11:47:35.241613655 +0000 @@ -1234,7 +1234,7 @@ mcopy(struct magic_set *ms, union VALUET b++; } if (lines) - last = RCAST(const char *, s) + bytecnt; + last = end; ms->search.s = buf; ms->search.s_len = last - buf;
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