aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/xmv.c
diff options
context:
space:
mode:
authorXiaohan Wang <xhwang@chromium.org>2014-11-06 12:59:54 -0800
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-01-27 14:36:34 +0000
commit51dd54c51aaca909893c9f90a4119e96ff71ffdf (patch)
tree1c19f69a83952d79ded1e648cbbb961b303a2fa8 /libavformat/xmv.c
parent9ae3cd6e7271a3d6b8cd92a4d35ebb16d2e03f1a (diff)
downloadffmpeg-51dd54c51aaca909893c9f90a4119e96ff71ffdf.tar.gz
matroskadec: Fix read-after-free in matroska_read_seek()
In matroska_read_seek(), |tracks| is assigned at the begining of the function. However, functions like matroska_parse_cues() could reallocate the tracks and invalidate |tracks|. This assigns |tracks| only before using it, so that it will not get invalidated elsewhere. Bug-Id: chromium/427266
Diffstat (limited to 'libavformat/xmv.c')
0 files changed, 0 insertions, 0 deletions