avcodec/hevc_ps: Check that log2_ctb_size is not smaller than the bounds of all profiles
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Feb 2015 21:10:41 +0000 (22:10 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Feb 2015 21:30:25 +0000 (22:30 +0100)
commit701c965a76069724d07ec57f3e1f9ca802138f29
treea80725b46791bdda4d1cdc972db3dcbe162ab2a8
parentdd369c9adbdd6b5bb306db15dce9ad8d370385fc
avcodec/hevc_ps: Check that log2_ctb_size is not smaller than the bounds of all profiles

Fixes: unaligned memory access
Fixes: signal_sigsegv_3344165_576_cov_3406448105_DBLK_A_MAIN10_VIXS_2.bit

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Suggested-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hevc_ps.c