Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
jasper.33539
jasper-CVE-2024-31744.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jasper-CVE-2024-31744.patch of Package jasper.33539
Index: jasper-1.900.14/src/libjasper/jpc/jpc_dec.c =================================================================== --- jasper-1.900.14.orig/src/libjasper/jpc/jpc_dec.c +++ jasper-1.900.14/src/libjasper/jpc/jpc_dec.c @@ -566,7 +566,9 @@ static int jpc_dec_process_sod(jpc_dec_t if (dec->pkthdrstreams) { /* Get the stream containing the packet header data for this tile-part. */ - if (!(tile->pkthdrstream = jpc_streamlist_remove(dec->pkthdrstreams, 0))) { + if (jpc_streamlist_numstreams(dec->pkthdrstreams) != 0 && + !(tile->pkthdrstream = jpc_streamlist_remove(dec->pkthdrstreams, + 0))) { return -1; } }
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