aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mjpeg_parser.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:35:24 +0000
commita9602c6cfbe6fa06ff97ad01c0ffa9ad5ccff30f (patch)
tree29b58606b9d8f992ababb5bde2e29f53d69a1c21 /libavcodec/mjpeg_parser.c
parentf249e9889155599ee3ad0172832d38f68b0c625d (diff)
downloadffmpeg-a9602c6cfbe6fa06ff97ad01c0ffa9ad5ccff30f.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 'libavcodec/mjpeg_parser.c')
0 files changed, 0 insertions, 0 deletions