diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-12-15 23:43:03 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-12-17 20:04:35 +0100 |
commit | 748d5fa2edfe93e6e584853883402f64a831c23f (patch) | |
tree | d9a2eab8a52ec357f85f472065cfd912125108c8 /libavcodec/jpeg2000dwt.c | |
parent | 796f1a24f59b55cebea779e8360a50f56f3f20fe (diff) | |
download | ffmpeg-748d5fa2edfe93e6e584853883402f64a831c23f.tar.gz |
sonic: make sure num_taps * channels is not larger than frame_size
If that is the case, the loop setting predictor_state in
sonic_decode_frame causes out of bounds reads of int_samples, which has
only frame_size number of elements.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 9637c2531f7eb040ad1c3cb46cb40a63dfc77b80)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/jpeg2000dwt.c')
0 files changed, 0 insertions, 0 deletions