]> git.sesse.net Git - ffmpeg/commit
hevc: Clip the pixel before shifting
authorLuca Barbato <lu_zero@gentoo.org>
Sat, 11 Jan 2014 15:52:41 +0000 (16:52 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 11 Jan 2014 19:33:05 +0000 (20:33 +0100)
commit5856bca360c5bc3e340a357d91b1f993c80a7bea
tree24212e1ece3ee8fe8934f1745c5e62f696b47457
parent0999f1613bc48ed9d6578a3ad7bcd17610e07fbf
hevc: Clip the pixel before shifting

Prevent an out of array bound read.

Fixes: asan_stack-oob_eae8e3_7333_WPP_B_ericsson_MAIN10_2.bit
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hevcdsp_template.c