Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
jasper.4397
jasper-CVE-2016-9398.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jasper-CVE-2016-9398.patch of Package jasper.4397
--- jasper-1.900.14/src/libjasper/jpc/jpc_t2dec.c 2016-10-18 08:27:00.000000000 +0200 +++ jasper-1.900.14/src/libjasper/jpc/jpc_t2dec.c 2016-12-13 10:42:02.827869570 +0100 @@ -296,6 +296,9 @@ passno = cblk->firstpassno + cblk->numpasses + mycounter; /* XXX - the maxpasses is not set precisely but this doesn't matter... */ maxpasses = JPC_SEGPASSCNT(passno, cblk->firstpassno, 10000, (ccp->cblkctx & JPC_COX_LAZY) != 0, (ccp->cblkctx & JPC_COX_TERMALL) != 0); + // Avoid maxpasses to be negative + if (maxpasses < 0) + maxpasses = -maxpasses; if (!discard && !seg) { if (!(seg = jpc_seg_alloc())) { 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