Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:as_python3_module
openexr
openexr-CVE-2021-3477.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openexr-CVE-2021-3477.patch of Package openexr
diff --git a/src/lib/OpenEXR/ImfDeepTiledInputFile.cpp b/src/lib/OpenEXR/ImfDeepTiledInputFile.cpp index 0f893481b..f5abe9c6a 100644 --- a/IlmImf/ImfDeepTiledInputFile.cpp +++ b/IlmImf/ImfDeepTiledInputFile.cpp @@ -1034,8 +1034,8 @@ DeepTiledInputFile::initialize () for (size_t i = 0; i < _data->tileBuffers.size(); i++) _data->tileBuffers[i] = new TileBuffer (); - _data->maxSampleCountTableSize = _data->tileDesc.ySize * - _data->tileDesc.xSize * + _data->maxSampleCountTableSize = static_cast<size_t>(_data->tileDesc.ySize) * + static_cast<size_t>(_data->tileDesc.xSize) * sizeof(int); _data->sampleCountTableBuffer.resizeErase(_data->maxSampleCountTableSize);
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