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 16:13:40 +0100 |
commit | dcecc180a6ad9e05f2b1f5802ec04c95a4cc6a8d (patch) | |
tree | 3308e1b8be80752a984047de91a23abb69075e3f /cmdutils.c | |
parent | 2306964b3a0336e24d1c9d04bd54aaecf2d198d7 (diff) | |
download | ffmpeg-dcecc180a6ad9e05f2b1f5802ec04c95a4cc6a8d.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 'cmdutils.c')
0 files changed, 0 insertions, 0 deletions