avcodec/exr: Check for duplicate channel index
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 25 Dec 2018 17:41:58 +0000 (18:41 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 12 Jan 2019 15:46:41 +0000 (16:46 +0100)
commitf9728feaf90eb7493f8872356f54150efafb59cc
tree4cafcb9359df9995fd0d6dccd534ac7c8f2f78d0
parentb6402278322d1f64810cac4bea26d34d7b9a2e6a
avcodec/exr: Check for duplicate channel index

Fixes: Out of memory
Fixes: 11582/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EXR_fuzzer-5730204559867904

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