aboutsummaryrefslogtreecommitdiffstats
path: root/libavresample/audio_convert.h
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-11-06 23:44:01 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-11-07 14:11:12 +0100
commitc0cd8747ef14dabb91261d910c34bc09c683773a (patch)
tree69bb56265b6ca1222c080c9fe2cff714ffd0418e /libavresample/audio_convert.h
parente217224456affb22846bee9ac7c5c877f22bcd51 (diff)
downloadffmpeg-c0cd8747ef14dabb91261d910c34bc09c683773a.tar.gz
apng: use correct size for output buffer
The buffer needs s->bpp bytes, at maximum currently 10. Assert that s->bpp is not larger. This fixes a stack buffer overflow. Reviewed-by: wm4 <nfxjfg@googlemail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit 3e8e1a660ea182111057d56ec1cfad2c62250f4c) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavresample/audio_convert.h')
0 files changed, 0 insertions, 0 deletions