avcodec/j2kenc: Fix out of array access in encode_cblk()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 30 Nov 2017 22:42:04 +0000 (23:42 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 7 Dec 2017 22:38:06 +0000 (23:38 +0100)
commit17f05ff656ff39445c77e15f0dcd80c42ce24727
treefd5889139441bba9efd0b50417baddfc5efc9658
parent0ccbbf034dc0bc94b5b735e56e8d35d51c23920f
avcodec/j2kenc: Fix out of array access in encode_cblk()

Fixes: 4427/clusterfuzz-testcase-minimized-5106919271301120

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 0674087004538599797688785f6ac82358abc23b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/j2kenc.c