Skip to content

fail if the prealloc size exceeds INT_MAX

Janne Grunau requested to merge 10-confidential-issue into master

The samples in #10 (frame size 11515x15886 RGB) exceeds this limit which results in a very large allocation due to size_t to int to size_t conversion. Fixes #10.

Edited by Janne Grunau

Merge request reports

Loading