avcodec/hevc_ps: Check chroma_format_idc
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 5 Nov 2015 12:52:33 +0000 (13:52 +0100)
committerMarkus Koschany <apo@debian.org>
Mon, 7 Jan 2019 18:45:12 +0000 (18:45 +0000)
commit21b43f521b9c99705f28672cb5543709e8603baf
tree78cdba111a801a7c8dc850f1635c826f47f654f4
parent4eb85325bcdd06f12e2c249643da46312ae3f93a
avcodec/hevc_ps: Check chroma_format_idc

avcodec/hevc_ps: Check chroma_format_idc

Fixes out of array access
Fixes: 24d05e8b84676799c735c9e27d97895e/asan_heap-oob_1b70f6a_2955_7c3652a7f370f9f3ef40642bc2c99bb2.bit
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
[sunweaver] Ported to libav 11.12 in Debian jessie LTS.

Gbp-Pq: Name CVE-2015-8217.patch
libavcodec/hevc_ps.c