aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.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:12 +0000
commit6222ee068eeb3d29a2bcc4a89ce31effdef5a061 (patch)
treeaf62598c670e81abb0de5bc895ad2e9739747e6f /libavformat/utils.c
parent306ee95088243fefa2dfcb5c355d439db75e2d2a (diff)
downloadffmpeg-6222ee068eeb3d29a2bcc4a89ce31effdef5a061.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/utils.c')
0 files changed, 0 insertions, 0 deletions