ffmpeg/libavformat
Xiaohan Wang 51dd54c51a 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
2015-01-27 14:36:34 +00:00
..
2011-11-30 20:34:45 +01:00
2012-01-16 11:29:55 +01:00
2011-11-30 20:34:45 +01:00
2011-12-12 20:21:47 +01:00
2014-09-17 07:50:55 -07:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2011-12-01 13:47:28 +02:00
2011-11-23 21:43:46 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2011-08-09 19:56:25 +02:00
2011-05-21 13:48:10 +02:00
2011-11-30 20:34:45 +01:00
2011-11-23 21:43:46 +01:00
2011-11-30 20:34:45 +01:00
2011-11-11 14:07:57 +02:00
2011-11-30 20:34:45 +01:00
2013-03-18 20:24:49 +01:00
2011-12-11 00:32:25 +01:00
2014-05-31 20:07:52 -04:00
2011-10-28 14:54:14 -07:00
2011-11-30 20:34:45 +01:00
2011-12-11 00:32:25 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2011-11-23 20:19:26 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2011-04-19 18:28:38 +02:00
2011-12-11 00:32:25 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2011-10-28 14:54:14 -07:00
2011-08-09 19:56:25 +02:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2012-03-06 15:28:00 -08:00
2011-12-21 00:00:03 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2013-04-24 21:01:14 +02:00
2013-04-24 21:01:14 +02:00
2011-12-18 16:23:16 +01:00
2011-07-03 21:42:06 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2014-01-07 09:43:58 +01:00
2012-01-03 18:47:42 -05:00
2014-01-07 09:43:57 +01:00
2014-01-07 09:43:58 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2013-10-16 23:05:50 +02:00
2013-10-16 23:05:50 +02:00
2013-10-16 23:05:50 +02:00
2011-10-17 20:40:20 +03:00
2011-12-11 00:32:25 +01:00
2011-11-30 17:39:32 +02:00
2011-04-08 15:59:19 +02:00
2011-12-01 23:19:25 +02:00
2011-10-17 19:57:45 +03:00
2011-11-30 20:34:45 +01:00
2012-01-16 11:29:55 +01:00
2011-11-30 20:34:45 +01:00
2011-05-21 13:48:10 +02:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2012-01-07 09:59:15 -05:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2013-05-07 07:15:26 +02:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2014-01-07 09:43:57 +01:00
2011-11-30 20:34:45 +01:00
2013-01-02 20:34:08 +01:00