avcodec/hevc_ps: Fix c?_qp_offset_list size
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 10 Sep 2017 19:10:17 +0000 (21:10 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 11 Sep 2017 23:54:08 +0000 (01:54 +0200)
commitde260c7b34de9d34a6201cc7ad62f8e19d072b75
tree07ebb37ad9643f2d6ba9d9f836f32de41d4a3ff3
parent0c5eb03aac6fd31ebb3e4ec263b18de30836c5a2
avcodec/hevc_ps: Fix c?_qp_offset_list size

Fixes: runtime error: index 5 out of bounds for type 'int8_t const[5]'
Fixes:3175/clusterfuzz-testcase-minimized-4736774054084608

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 abf3f9fa232409c00b60041464604a91fa5612c0)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/hevc_ps.h