Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
jasper
jasper-CVE-2018-18873.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jasper-CVE-2018-18873.patch of Package jasper
Index: jasper-1.900.14/src/libjasper/ras/ras_enc.c =================================================================== --- jasper-1.900.14.orig/src/libjasper/ras/ras_enc.c +++ jasper-1.900.14/src/libjasper/ras/ras_enc.c @@ -232,6 +232,11 @@ static int ras_putdatastd(jas_stream_t * assert(numcmpts <= 3); + if (RAS_ISRGB(hdr) && numcmpts < 3) { + /* need 3 components for RGB */ + return -1; + } + for (i = 0; i < 3; ++i) { data[i] = 0; }
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