avcodec/dpx: Check elements in 12bps planar path
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 27 Jun 2018 14:12:39 +0000 (16:12 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 28 Jun 2018 19:35:01 +0000 (21:35 +0200)
commit75a2db552423295b509546f3b0f8b2b46d3424b1
treef602116fb30250549ae2e02a6dbb2a4e1cf7560b
parent46fb150a81abed256dbe779809bcbe57f1ba9434
avcodec/dpx: Check elements in 12bps planar path

Fixes: null pointer dereference
Fixes: 8946/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DPX_fuzzer-5078915222601728

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dpx.c