]> git.sesse.net Git - ffmpeg/commit
avcodec/cri: Check for end of image in unpack_10bit()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 14 Oct 2020 21:21:03 +0000 (23:21 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 20 Oct 2020 13:33:13 +0000 (15:33 +0200)
commitbc9686c85beb15cb87d492bfbea03c91d5317a11
treef02dd7ad7329bfea711c7e2e705ab5f308f32300
parentbe852803eb3b5628a45f91d298c924be038c2ff7
avcodec/cri: Check for end of image in unpack_10bit()

Fixes: out of array write
Fixes: 26242/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CRI_fuzzer-5161495882891264
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/cri.c