diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-12-18 19:28:51 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-12-20 15:40:09 +0100 |
commit | 882391f9758ea13643639e21de81e3f7978b0695 (patch) | |
tree | 7db41262b3ff9db6355a8133d29a7e5790e95b4c /libswresample/resample.h | |
parent | 0f1e398874399ddf0586b54735d8c85ff1228c85 (diff) | |
download | ffmpeg-882391f9758ea13643639e21de81e3f7978b0695.tar.gz |
xwddec: prevent overflow of lsize * avctx->height
This is used to check if the input buffer is large enough, so if this
overflows it can cause a false negative leading to a segmentation fault
in bytestream2_get_bufferu.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 9d38f06d05efbb9d6196c27668eb943e934943ae)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libswresample/resample.h')
0 files changed, 0 insertions, 0 deletions