avcodec/hevc: Fix integer overflow of entry_point_offset
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 5 Dec 2015 21:08:59 +0000 (22:08 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 6 Dec 2015 01:51:27 +0000 (02:51 +0100)
commit10fc3d690c8b6c326e3fb11694e17519e4226722
treede6ccd9511532d2592bea78290c107833b391730
parent0fa92fee43388dc257bceb15a67f28a40b3d6a49
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>
libavcodec/hevc.c
libavcodec/hevc.h