1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavformat
John Stebbins f7357facd8 lavf/mov: fix huge alloc in mov_read_ctts
An invalid file may cause huge alloc.  Delay expansion of ctts entries
until the number of samples is known in mov_build_index.

Fixes: 23

Found-by: zhao dongzhuo, AD-lab of Venustech
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 2d015d3bf9fed59c65a3819a35fedbb8b7dde623)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-12-07 23:38:06 +01:00
..
2017-10-05 17:10:23 +02:00
2017-09-09 12:07:14 +02:00
2017-03-31 18:19:41 +02:00
2017-03-29 14:49:29 +02:00
2017-10-05 17:10:23 +02:00
2017-10-05 17:10:23 +02:00
2017-09-01 02:16:33 -03:00
2017-09-01 17:56:33 +02:00
2017-09-20 03:31:48 +02:00
2017-09-20 03:31:48 +02:00
2017-09-01 18:52:56 +08:00
2017-10-05 17:10:23 +02:00
2017-08-29 01:33:47 +02:00
2017-08-30 12:13:01 +02:00
2017-09-07 15:19:22 +02:00
2017-09-01 02:16:33 -03:00
2017-09-15 15:10:49 +02:00
2017-10-05 17:10:23 +02:00
2017-10-05 17:10:23 +02:00
2017-10-05 17:10:23 +02:00
2017-09-09 12:07:14 +02:00
2017-09-23 19:37:21 -03:00
2017-03-30 13:26:04 +02:00
2017-10-05 17:10:23 +02:00
2017-06-13 19:49:06 +02:00
2017-09-01 17:56:33 +02:00
2017-09-01 02:16:33 -03:00
2017-07-10 15:02:29 -04:00
2017-09-21 16:17:02 -08:00
2017-09-09 12:07:14 +02:00
2017-09-01 02:16:33 -03:00
2017-09-22 01:33:22 +02:00
2017-07-16 16:09:17 +01:00
2017-09-01 02:16:33 -03:00