avcodec/dnxhd_parser: Fix parser when input does not have nicely sized packets master
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 6 Jul 2019 09:51:09 +0000 (11:51 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 17 Jul 2019 21:18:50 +0000 (23:18 +0200)
commit2d900d8fe0aaf9c984e024956eb537ecdfe2c949
treedb05b84dcf02ef0339ae302f373de15caf2d3972
parentf6d1b18b3d58cd8f06eea653c4a6e22e4b9245e6
avcodec/dnxhd_parser: Fix parser when input does not have nicely sized packets

Fixes: out of array access
Fixes: 15522/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DNXHD_fuzzer-5747756078989312

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dnxhd_parser.c