Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
jasper
jasper-CVE-2020-27828.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jasper-CVE-2020-27828.patch of Package jasper
Index: jasper-1.900.14/src/libjasper/jpc/jpc_enc.c =================================================================== --- jasper-1.900.14.orig/src/libjasper/jpc/jpc_enc.c +++ jasper-1.900.14/src/libjasper/jpc/jpc_enc.c @@ -504,6 +504,11 @@ static jpc_enc_cp_t *cp_create(char *opt break; case OPT_MAXRLVLS: tccp->maxrlvls = atoi(jas_tvparser_getval(tvp)); + if (tccp->maxrlvls > JPC_MAXRLVLS) { + jas_eprintf("number of resolution levels exceeds maximum %d\n", + JPC_MAXRLVLS); + goto error; + } break; case OPT_SOP: cp->tcp.csty |= JPC_COD_SOP;
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