diff options
author | Andreas Cadhalpun <[email protected]> | 2015-12-18 19:28:51 +0100 |
---|---|---|
committer | Andreas Cadhalpun <[email protected]> | 2015-12-20 14:17:55 +0100 |
commit | f040f3e5d5abfe4f59036e7b671d7b03eda244e7 (patch) | |
tree | 5e4c7f0431d25608e9bea980209c583115bf3c14 /libavdevice/opengl_enc_shaders.h | |
parent | 7f320ed15d7ba4c4c84764888eb126daea932d7b (diff) |
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 <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
(cherry picked from commit 9d38f06d05efbb9d6196c27668eb943e934943ae)
Signed-off-by: Andreas Cadhalpun <[email protected]>
Diffstat (limited to 'libavdevice/opengl_enc_shaders.h')
0 files changed, 0 insertions, 0 deletions