summaryrefslogtreecommitdiff
path: root/libavcodec/hevc.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-12-05 22:08:59 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-05 22:34:30 +0100
commit214085852491448631dcecb008b5d172c11b8892 (patch)
tree3b9c1146443f47a3a2474013251ce59a69f19c9b /libavcodec/hevc.h
parentdcbe8d8abc9b726650e36572f1f9dbd0879cbd93 (diff)
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>
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r--libavcodec/hevc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h
index 6d8f703900..9d72555867 100644
--- a/libavcodec/hevc.h
+++ b/libavcodec/hevc.h
@@ -622,7 +622,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;