Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:sp5-rebuild
jasper.33539
jasper-CVE-2021-27845.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jasper-CVE-2021-27845.patch of Package jasper.33539
Index: jasper-2.0.14/src/libjasper/jpc/jpc_enc.c =================================================================== --- jasper-2.0.14.orig/src/libjasper/jpc/jpc_enc.c +++ jasper-2.0.14/src/libjasper/jpc/jpc_enc.c @@ -428,6 +428,10 @@ static jpc_enc_cp_t *cp_create(const cha } cp->rawsize = jas_image_rawsize(image); + if (cp->rawsize == 0) { + /* prevent division by zero in cp_create() */ + goto error; + } cp->totalsize = UINT_FAST32_MAX; tcp = &cp->tcp;
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