Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:GA
libmspack.22325
libmspack-CVE-2018-14682.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libmspack-CVE-2018-14682.patch of Package libmspack.22325
From 4fd9ccaa54e1aebde1e4b95fb0163b699fd7bcc8 Mon Sep 17 00:00:00 2001 From: Stuart Caie <kyzer@cabextract.org.uk> Date: Tue, 6 Feb 2018 23:17:30 +0000 Subject: [PATCH] Fix off-by-one error in chmd TOLOWER() fallback --- libmspack/mspack/chmd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletion(-) diff --git a/mspack/chmd.c b/mspack/chmd.c index 1a486c8..221784b 100644 --- a/mspack/chmd.c +++ b/mspack/chmd.c @@ -831,7 +831,7 @@ static int search_chunk(struct mschmd_header *chm, # endif # define TOLOWER(x) tolower(x) #else -# define TOLOWER(x) (((x)<0||(x)>256)?(x):mspack_tolower_map[(x)]) +# define TOLOWER(x) (((x)<0||(x)>255)?(x):mspack_tolower_map[(x)]) /* Map of char -> lowercase char for the first 256 chars. Generated with: * LC_CTYPE=en_GB.utf-8 perl -Mlocale -le 'print map{ord(lc chr).","} 0..255' */
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