Download tasks/csa159/pair_136252/patch.diff from Benchanything/checkerbench: direct link, hf CLI and curl.
- Browser
- Download file 575 Bytes
-
https://huggingface.co/datasets/Benchanything/checkerbench/resolve/main/tasks/csa159/pair_136252/patch.diff
- Command line
-
hf download hf://datasets/Benchanything/checkerbench/tasks/csa159/pair_136252/patch.diff
-
curl -L -o patch.diff https://huggingface.co/datasets/Benchanything/checkerbench/resolve/main/tasks/csa159/pair_136252/patch.diff
575 Bytes
| diff --git a/OpenEXR/IlmImf/ImfHeader.cpp b/OpenEXR/IlmImf/ImfHeader.cpp | |
| index e29ec421..f3655e3f 100644 | |
| --- a/OpenEXR/IlmImf/ImfHeader.cpp | |
| +++ b/OpenEXR/IlmImf/ImfHeader.cpp | |
| Header::sanityCheck (bool isTiled, bool isMultipartFile) const | |
| const TileDescription &tileDesc = tileDescription(); | |
| - if (tileDesc.xSize <= 0 || tileDesc.ySize <= 0) | |
| + if (tileDesc.xSize <= 0 || tileDesc.ySize <= 0 || tileDesc.xSize > INT_MAX || tileDesc.ySize > INT_MAX ) | |
| throw IEX_NAMESPACE::ArgExc ("Invalid tile size in image header."); | |
| if (maxTileWidth > 0 && |