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>
Fri, 1 Dec 2017 22:12:07 +0000 (23:12 +0100)
commit0674087004538599797688785f6ac82358abc23b
tree6d4e36e007f76745363cc2d33d1aeb091db9e130
parent0409d333115e623b5ccdbb364d64ca2a52fd8467
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>
libavcodec/j2kenc.c