Integer-overflow in Imf_2_5::calculateNumTiles
External References: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25297
Created OpenEXR tracking bugs for this issue: Affects: fedora-all [bug 1939181]
Flaw summary: An integer overflow could occur in calculateNumTiles() of OpenEXR/IlmImf/ImfTiledMisc.cpp if size=MAX_INT. The patch uses a 64-bit integer type to hold the return value of levelSize() and avoid this flaw.
Upstream patch commit: https://github.com/AcademySoftwareFoundation/openexr/commit/2a18ed424a854598c2a20b5dd7e782b436a1e753
This is fixed in OpenEXR release v2.5.4, v2.5.5, and v3.0.1+.