Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix addition overflows in range checks in LoaderTiff::getData
Several checks for extracted values performed no overflow checks on the addition. They can be tricked into passing, albeit the individual summands are too large. => use Safe::add() which now aborts when an overflow occurs This fixes Exiv2#366
- Loading branch information