Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
jasper
jasper-CVE-2018-9154.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jasper-CVE-2018-9154.patch of Package jasper
Index: jasper-version-2.0.16/src/libjasper/jpc/jpc_dec.c =================================================================== --- jasper-version-2.0.16.orig/src/libjasper/jpc/jpc_dec.c +++ jasper-version-2.0.16/src/libjasper/jpc/jpc_dec.c @@ -485,7 +485,7 @@ static int jpc_dec_process_sot(jpc_dec_t if (!(compinfos = jas_alloc2(dec->numcomps, sizeof(jas_image_cmptparm_t)))) { - abort(); + return -1; } for (cmptno = 0, cmpt = dec->cmpts, compinfo = compinfos; cmptno < dec->numcomps; ++cmptno, ++cmpt, ++compinfo) { @@ -512,7 +512,7 @@ static int jpc_dec_process_sot(jpc_dec_t /* Convert the PPM marker segment data into a collection of streams (one stream per tile-part). */ if (!(dec->pkthdrstreams = jpc_ppmstabtostreams(dec->ppmstab))) { - abort(); + return -1; } jpc_ppxstab_destroy(dec->ppmstab); dec->ppmstab = 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