diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-14 03:17:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-14 03:17:52 +0100 |
commit | 7acee6654ccdbadea62e700970f789478febaa0c (patch) | |
tree | a59f3587e7d40879887d568789e5106d94981d3a /libavcodec/mpeg12data.c | |
parent | e1631f8ebe9a8f2a9cca85d60160b9be94eb63f3 (diff) | |
download | ffmpeg-7acee6654ccdbadea62e700970f789478febaa0c.tar.gz |
mpeg12data: increase size of ff_mpeg1_default_intra_matrix to prevent harmless overreads from crashing
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpeg12data.c')
-rw-r--r-- | libavcodec/mpeg12data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12data.c b/libavcodec/mpeg12data.c index d26c5da1d4..e8c4a5d3d1 100644 --- a/libavcodec/mpeg12data.c +++ b/libavcodec/mpeg12data.c @@ -27,7 +27,7 @@ #include "mpeg12data.h" -const uint16_t ff_mpeg1_default_intra_matrix[64] = { +const uint16_t ff_mpeg1_default_intra_matrix[256] = { 8, 16, 19, 22, 26, 27, 29, 34, 16, 16, 22, 24, 27, 29, 34, 37, 19, 22, 26, 27, 29, 34, 34, 38, |