avcodec/hevc: Check max ctb addresses for WPP
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 28 Nov 2015 12:42:05 +0000 (13:42 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 28 Nov 2015 14:48:55 +0000 (15:48 +0100)
commitdad354f38ddc9bfc834bc21358a1d0ad41532ca0
tree6588dcb2140877cc9d35f16ef8f1b1c6747ed1ce
parent79abf2d0ded860acf505de22c4f7a750e5e98446
avcodec/hevc: Check max ctb addresses for WPP

Fixes out of array read
Fixes: 2f95ddd996db8a6281d2e18c184595a7/asan_heap-oob_192fe91_3330_58e4441181e30a66c19f743dcb392347.bit

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