mirror of
https://github.com/opencv/opencv.git
synced 2026-11-22 01:13:24 -06:00
Validate the one-based Padding dimension before converting it to an array index, and reject the minimum integer pad before negating it. Add a serialized Torch7 regression test for valid and invalid bounds. Signed-off-by: Nathan Keys <professor.moody@pm.me>