Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent overflow by large arguments of opj_calloc
calloc allocates (num * size) bytes, possibly without handling an overflow when doing the multiplication. This is fatal because the allocated memory would be too small in that case. Signed-off-by: Stefan Weil <[email protected]>
- Loading branch information