diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-12-17 00:21:21 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-20 05:27:17 +0300 |
commit | 226727f08fb06c958e17be413b97701dcadd122b (patch) | |
tree | 82460a250d1f6470f3107c3d973c1b949b61fafe /libswscale/swscale_internal.h | |
parent | b8021620e21aaab77350f0a0d09f82116c27b9b8 (diff) |
swscale: increase yuv2rgb table headroom
Fixes out of array access
Fixes: case2_bad_read_yuv2rgbx32.mp4
Found-by: Michal Zalewski <lcamtuf@coredump.cx>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r-- | libswscale/swscale_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index c2c23a08e5..59bda7b873 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -37,7 +37,7 @@ #define STR(s) AV_TOSTRING(s) // AV_STRINGIFY is too long -#define YUVRGB_TABLE_HEADROOM 128 +#define YUVRGB_TABLE_HEADROOM 256 #define MAX_FILTER_SIZE 256 |