diff options
author | Matt Wolenetz <wolenetz@chromium.org> | 2016-11-21 15:54:02 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-12-30 00:11:18 +0100 |
commit | fe7547d69e6721d064c8604d0a6375a2d24b35ca (patch) | |
tree | 71b62def439222f68fcc5b416f2561cc06f73e27 /libavfilter/vaf_spectrumsynth.c | |
parent | 9ec52a0a9b086d8a916a580ad594c126cd810a45 (diff) | |
download | ffmpeg-fe7547d69e6721d064c8604d0a6375a2d24b35ca.tar.gz |
lavf/utils.c Protect against accessing entries[nb_entries]
In ff_index_search_timestamp(), if b == num_entries,
m == num_entries - 1, and entries[m].flags & AVINDEX_DISCARD_FRAME is
true, then the search for the next non-discarded packet could access
entries[nb_entries], exceeding its bounds. This change adds a protection
against that scenario. Reference: https://crbug.com/666770
Reviewed-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/vaf_spectrumsynth.c')
0 files changed, 0 insertions, 0 deletions