Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
openexr.20096
openexr-CVE-2021-3474.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openexr-CVE-2021-3474.patch of Package openexr.20096
Index: openexr-2.2.1/IlmImf/ImfFastHuf.cpp =================================================================== --- openexr-2.2.1.orig/IlmImf/ImfFastHuf.cpp 2021-03-31 17:28:23.022431443 +0200 +++ openexr-2.2.1/IlmImf/ImfFastHuf.cpp 2021-03-31 17:28:23.086431821 +0200 @@ -205,7 +205,7 @@ FastHufDecoder::FastHufDecoder for (int l = _minCodeLength; l <= _maxCodeLength; ++l) { countTmp[l] = (double)codeCount[l] * - (double)(2 << (_maxCodeLength-l)); + (double)(2ll << (_maxCodeLength-l)); } for (int l = _minCodeLength; l <= _maxCodeLength; ++l) @@ -215,7 +215,7 @@ FastHufDecoder::FastHufDecoder for (int k =l + 1; k <= _maxCodeLength; ++k) tmp += countTmp[k]; - tmp /= (double)(2 << (_maxCodeLength - l)); + tmp /= (double)(2ll << (_maxCodeLength - l)); base[l] = (Int64)ceil (tmp); }
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