diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-10-19 23:40:41 +0200 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-27 00:28:02 +0100 |
commit | 13f032abbb26c7b47d700745f7ace05375eae34f (patch) | |
tree | 5e7edfadb8b8638ce9f2f00b76ecd0de2d5a7919 /library.mak | |
parent | d69dc10466e234c0e4ff9cb7e4d0e5d63ceeb357 (diff) | |
download | ffmpeg-13f032abbb26c7b47d700745f7ace05375eae34f.tar.gz |
rsd: limit number of channels
Negative values don't make sense and too large values can cause
overflows. For AV_CODEC_ID_ADPCM_THP this leads to a too small extradata
buffer being allocated, causing out-of-bounds writes.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit ee5f0f1d355fa0fd9194ac97a2c8598c93ed328b)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'library.mak')
0 files changed, 0 insertions, 0 deletions