ffmpeg/libavformat
Ronald S. Bultje abe3572878 rm: prevent infinite loops for index parsing.
Specifically, prevent jumping back in the file for the next index, since
this can lead to infinite loops where we jump between indexes referring
to each other, and don't read indexes that don't fit in the file.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit aac07a7a4c2c7a4a29cf6dbc88c1b9fdd191b99d)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2012-02-26 10:04:04 +01: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
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-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-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-12-11 00:32:25 +01:00
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01:00
2011-12-11 00:32:25 +01:00
2011-12-13 23:34:24 +01: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-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
2011-11-30 20:34:45 +01:00
2011-11-30 20:34:45 +01: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
2011-12-05 13:06:58 +01:00
2011-11-30 20:34:45 +01:00
2011-12-20 22:38:53 +01: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
2011-11-30 20:34:45 +01:00
2012-01-03 18:47:42 -05: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-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-10 14:24:08 -05:00
2011-11-30 20:34:45 +01: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
2012-01-16 11:29:55 +01:00
2012-01-07 11:14:57 -08: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