Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:GA
openjpeg2.34968
openjpeg2-CVE-2018-5727.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openjpeg2-CVE-2018-5727.patch of Package openjpeg2.34968
Index: openjpeg-2.3.0/src/lib/openjp2/t1.c =================================================================== --- openjpeg-2.3.0.orig/src/lib/openjp2/t1.c +++ openjpeg-2.3.0/src/lib/openjp2/t1.c @@ -2168,9 +2168,10 @@ OPJ_BOOL opj_t1_encode_cblks(opj_t1_t *t t1->data = tiledp; t1->data_stride = tile_w; if (tccp->qmfbid == 1) { + OPJ_UINT32* OPJ_RESTRICT tiledp_u = (OPJ_UINT32*) tiledp; for (j = 0; j < cblk_h; ++j) { for (i = 0; i < cblk_w; ++i) { - tiledp[tileIndex] *= (1 << T1_NMSEDEC_FRACBITS); + tiledp_u[tileIndex] <<= T1_NMSEDEC_FRACBITS; tileIndex++; } tileIndex += tileLineAdvance;
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