aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/file_open.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-10-19 23:40:41 +0200
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-27 00:38:58 +0100
commit45b18fbb9a7729c91d69d6359a782a0135b5f2b8 (patch)
treee130cb527903f261ce930c2324407a51a64998b1 /libavcodec/file_open.c
parent0496403c08ab35b20490a48aa9e3fdbd4d3bf27d (diff)
downloadffmpeg-45b18fbb9a7729c91d69d6359a782a0135b5f2b8.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 'libavcodec/file_open.c')
0 files changed, 0 insertions, 0 deletions