avcodec/hevc_ps: Check return code from pps_range_extensions()
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 27 Nov 2014 01:31:46 +0000 (02:31 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 27 Nov 2014 02:01:32 +0000 (03:01 +0100)
commit9f9440bd8122cc8798139c9370db0873a24ae14b
tree6b2029b26c13d963c17965b9237cf55c12cf97cd
parente2b8b4caf6c0ae2b6a49520c3766c40924f1cb2d
avcodec/hevc_ps: Check return code from pps_range_extensions()

Fixes out of array read
Fixes: asan_heap-oob_177e222_885_cov_1532528832_MERGE_D_TI_3.bit
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hevc_ps.c