aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ass_split.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-01 01:05:01 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-01 18:45:34 +0100
commit9d83b209d8861f1daf55f6719b1e0c226ed7269a (patch)
tree38495bb9f4824ff00eda5a0c27040fb7edeb7715 /libavcodec/ass_split.c
parent6089c44a2af1394bb34257814ba50e05b84112ec (diff)
downloadffmpeg-9d83b209d8861f1daf55f6719b1e0c226ed7269a.tar.gz
mov: immediately return from mov_fix_index without old index entries
If there are no index entries, e_old = st->index_entries is only one byte large, since it was created by av_realloc called with size 0. Thus accessing e_old[0].timestamp causes a heap buffer overflow. Reviewed-by: Sasi Inguva <isasi@google.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/ass_split.c')
0 files changed, 0 insertions, 0 deletions