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-20 16:13:23 +0100 |
commit | 465dd4bc941e96abc00e60e35947673d64d34907 (patch) | |
tree | feef561506660808122fe460f1e16e0ee7c4fd12 /cmdutils.c | |
parent | 7a26ea7a7e67cff8c1f3367e4f505f1c650ca0f5 (diff) | |
download | ffmpeg-465dd4bc941e96abc00e60e35947673d64d34907.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 'cmdutils.c')
0 files changed, 0 insertions, 0 deletions