diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-12-15 22:00:31 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-12-17 20:04:30 +0100 |
commit | 796f1a24f59b55cebea779e8360a50f56f3f20fe (patch) | |
tree | 62adbbbfeefda8c78a5202f4a376a4b5ad729c33 /libavcodec/ffv1.c | |
parent | 0b24a0e0f12f0a57a54bfbbf9637855ef8b2f698 (diff) | |
download | ffmpeg-796f1a24f59b55cebea779e8360a50f56f3f20fe.tar.gz |
opus_silk: fix typo causing overflow in silk_stabilize_lsf
Due to this typo max_center can be too large, causing nlsf to be set to
too large values, which in turn can cause nlsf[i - 1] + min_delta[i] to
overflow to a negative value, which is not allowed for nlsf and can
cause an out of bounds read in silk_lsf2lpc.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit f61d44b74aaae1d306d8a0d38b7b3d4292c89ced)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/ffv1.c')
0 files changed, 0 insertions, 0 deletions