diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-02-04 02:20:59 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-02-23 14:49:47 +0100 |
commit | e7b7e694168663813fdf1e99e0d1142cfd88e44b (patch) | |
tree | 5f5a7729a8424146345d0b24265c220246669f2e /libavcodec/hevc.c | |
parent | 9330bcff9ba2e74cc13630cb607a11753c1c212c (diff) | |
download | ffmpeg-e7b7e694168663813fdf1e99e0d1142cfd88e44b.tar.gz |
avcodec/h264: update current_sps & sps->new only after the whole slice header decoder and init code finished
This avoids them being cleared before the full initialization finished
Fixes out of array read
Fixes: asan_heap-oob_f0c5e6_7071_cov_1605985132_mov_h264_aac__Demo_FlagOfOurFathers.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 8a3b85f3a7952c54a2c36ba1797f7e0cde9f85aa)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc.c')
0 files changed, 0 insertions, 0 deletions