diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-12-05 22:08:59 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-12-06 12:40:51 +0100 |
commit | bafd5c3c80a4a9ee8f5c0e67320c6e0bf3869101 (patch) | |
tree | ff88aaf7f1960ecda7479a47a29c7552f798f593 /libavcodec/hevc.h | |
parent | 9459490c2ae927e341354c311639f016d01731a0 (diff) | |
download | ffmpeg-bafd5c3c80a4a9ee8f5c0e67320c6e0bf3869101.tar.gz |
avcodec/hevc: Fix integer overflow of entry_point_offset
Fixes out of array read
Fixes: d41d8cd98f00b204e9800998ecf8427e/signal_sigsegv_321165b_7641_077dfcd8cbc80b1c0b470c8554cd6ffb.bit
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 214085852491448631dcecb008b5d172c11b8892)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r-- | libavcodec/hevc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h index 7efafe11e2..c71ab55000 100644 --- a/libavcodec/hevc.h +++ b/libavcodec/hevc.h @@ -607,7 +607,7 @@ typedef struct SliceHeader { unsigned int max_num_merge_cand; ///< 5 - 5_minus_max_num_merge_cand - int *entry_point_offset; + unsigned *entry_point_offset; int * offset; int * size; int num_entry_point_offsets; |