avcodec/rscc: Check input size for raw mode
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 14 Nov 2015 16:59:56 +0000 (17:59 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 14 Nov 2015 17:26:11 +0000 (18:26 +0100)
commitac6ab77741f5e57c8c1d3980bfaf3690eb1cd8c0
tree3928ca99a547f2c053f0bb178e5bd4386372c09e
parent618b3ae7d4a90a0b4a25995bf54896cdee129a5b
avcodec/rscc: Check input size for raw mode

Fixes out of array read
Fixes: 7fcd09eadd046e326d8ea0af66f166c8/asan_heap-oob_4a52e5_2273_fa6078a10dd575df266fb1e0b4114cd5.avi

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/rscc.c