mirror of https://github.com/FFmpeg/FFmpeg.git
asserts should not be used instead of ordinary input checks. Yet the native DNN backend did it: get_input_native() asserted that the first dimension was one, despite this value coming directly from the input file without having been sanitized. Reviewed-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>pull/371/head
parent
0e078c6cfa
commit
1e47ef600d
1 changed files with 2 additions and 0 deletions
Loading…
Reference in new issue