avcodec/scpr: Check y in first line loop in decompress_i()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 May 2017 13:29:31 +0000 (15:29 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 May 2017 13:51:08 +0000 (15:51 +0200)
commit7ac5067146613997bb38442cb022d7f41321a706
tree6b06c18fc7d8041c943345236cfb1fb64e399374
parent8a69f2602fea04b7ebae2db16f2581e8ff5ee0cd
avcodec/scpr: Check y in first line loop in decompress_i()

Fixes: out of array access
Fixes: 1478/clusterfuzz-testcase-minimized-5285486908145664

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