Don't use ff_cropTbl[] for IDCT.
authorRonald S. Bultje <rsbultje@gmail.com>
Tue, 6 Mar 2012 00:01:19 +0000 (16:01 -0800)
committerReinhard Tartler <siretart@tauware.de>
Thu, 8 Mar 2012 21:07:55 +0000 (22:07 +0100)
commit12247a13e018d64ba59012283d9b16374358985b
treec34a8ef17f335fff58e07e47783ad891f94f76b0
parent7503861b424f7a1151bf4c4714bd46b4bdc5b496
Don't use ff_cropTbl[] for IDCT.

Results of IDCT can by far outreach the range of ff_cropTbl[], leading
to overreads and potentially crashes.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit c23acbaed40101c677dfcfbbfe0d2c230a8e8f44)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/dsputil.c
libavcodec/h264idct_template.c
libavcodec/rv34dsp.c
libavcodec/simple_idct.c
libavcodec/simple_idct_template.c
libavcodec/svq3.c
libavcodec/vc1dsp.c
libavcodec/vp3dsp.c
libavcodec/vp8dsp.c