mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/240/head
parent
6089c44a2a
commit
9d83b209d8
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue