Michael Niedermayer
241f59eb8b
avformat/aviobuf: Delay buffer downsizing until asserts are met
Fixes: Assertion failure
Fixes: 15151/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5757079496687616
Fixes: 15205/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5767573242642432
May fix: Ticket7094
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 0334632d5c02720f1829d59cd20c009584b5b163)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-11-14 23:30:37 +01:00
..
2017-09-28 18:15:45 +02:00
2016-05-13 14:55:56 +02:00
2016-04-10 20:59:55 +01:00
2017-01-29 01:20:48 +01:00
2016-04-10 20:59:55 +01:00
2019-07-23 01:13:41 -03:00
2019-11-14 23:30:37 +01:00
2017-01-28 23:08:42 +01:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2017-10-09 02:57:48 +02:00
2016-04-10 20:59:55 +01:00
2017-05-24 20:28:00 -03:00
2016-12-14 01:06:55 +01:00
2016-06-21 21:55:34 +02:00
2016-04-10 20:59:55 +01:00
2016-07-03 04:37:48 +02:00
2017-10-05 17:10:23 +02:00
2017-09-25 21:26:38 -03:00
2016-04-14 18:21:08 +02:00
2017-09-09 12:07:14 +02:00
2017-03-31 18:19:41 +02:00
2016-04-10 20:59:55 +01:00
2016-12-14 01:06:55 +01:00
2017-03-29 14:49:29 +02:00
2017-02-25 09:57:44 +01:00
2017-02-10 18:33:29 -03:00
2017-03-29 14:49:29 +02:00
2017-09-25 21:26:38 -03:00
2016-04-10 20:59:55 +01:00
2016-06-21 21:55:34 +02:00
2017-10-05 17:10:23 +02:00
2018-07-07 12:27:00 +02:00
2017-08-02 15:26:25 +02:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2017-03-29 14:49:29 +02:00
2017-03-21 17:02:30 -03:00
2016-04-21 15:55:09 +01:00
2017-03-21 17:02:30 -03:00
2016-04-10 20:59:55 +01:00
2016-06-21 21:55:34 +02:00
2017-06-30 14:35:25 +02:00
2017-01-31 09:00:23 +01:00
2018-06-18 01:16:03 +02:00
2017-08-02 15:26:25 +02:00
2017-09-01 17:56:33 +02:00
2017-07-10 06:56:51 +07:00
2017-09-01 17:56:33 +02:00
2019-11-14 23:30:37 +01:00
2017-04-01 12:16:45 +02:00
2016-07-19 21:43:14 -03:00
2016-07-19 21:43:14 -03:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2016-12-14 01:06:55 +01:00
2017-08-20 11:33:51 +02:00
2017-03-21 17:02:30 -03:00
2017-09-30 20:41:52 +02:00
2016-02-29 16:51:10 +00:00
2016-06-21 21:55:34 +02:00
2017-02-01 02:57:40 +01:00
2017-03-29 14:49:29 +02:00
2016-04-10 20:59:55 +01:00
2016-04-21 15:55:09 +01:00
2017-09-20 03:31:48 +02:00
2017-09-19 23:06:42 -03:00
2017-09-20 03:31:48 +02:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2016-12-06 21:07:59 +01:00
2017-08-27 19:22:08 +02:00
2016-04-21 15:55:09 +01:00
2017-08-31 15:33:52 +01:00
2017-04-01 15:45:32 +02:00
2017-09-01 18:52:56 +08:00
2017-09-01 10:20:56 +08:00
2017-09-09 08:34:07 +08:00
2017-09-26 14:13:09 -03:00
2016-02-29 16:51:10 +00:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2016-10-21 19:41:09 +02:00
2016-04-10 20:59:55 +01:00
2016-07-25 12:19:39 -03:00
2017-10-05 17:10:23 +02:00
2016-04-10 20:59:55 +01:00
2017-01-12 15:02:42 +01:00
2017-07-21 12:18:10 -03:00
2017-03-21 17:02:30 -03:00
2017-08-29 01:33:47 +02:00
2017-03-21 17:02:30 -03:00
2016-06-29 11:16:01 +02:00
2017-03-29 14:49:29 +02:00
2016-04-10 20:59:55 +01:00
2017-01-29 01:20:52 +01:00
2017-01-30 01:40:48 +01:00
2017-03-21 17:02:30 -03:00
2016-12-02 19:37:00 +01:00
2016-04-10 20:59:55 +01:00
2017-07-19 10:08:19 +02:00
2017-06-24 18:51:29 +02:00
2017-03-21 17:02:30 -03:00
2016-04-10 20:59:55 +01:00
2017-08-30 12:13:01 +02:00
2017-09-12 21:39:57 -03:00
2017-09-01 02:16:33 -03:00
2017-03-15 23:17:32 +01:00
2017-03-21 17:02:30 -03:00
2017-02-11 20:20:07 +01:00
2017-09-07 08:30:14 +08:00
2018-10-28 02:22:42 +02:00
2016-06-25 20:09:10 +02:00
2017-03-29 14:49:29 +02:00
2016-11-05 22:42:22 -03:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2019-03-24 10:38:51 +01:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2017-08-24 12:55:46 +02:00
2016-06-23 21:37:05 +02:00
2019-03-24 10:38:52 +01:00
2017-01-30 01:40:48 +01:00
2017-09-25 21:26:38 -03:00
2016-04-10 20:59:55 +01:00
2016-04-21 15:55:09 +01:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2017-03-21 17:02:30 -03:00
2017-02-07 18:27:21 +01:00
2016-05-04 22:43:01 +02:00
2016-04-16 21:31:58 -03:00
2017-09-01 02:16:33 -03:00
2018-02-24 00:38:15 -03:00
2017-03-23 14:27:48 -03:00
2017-09-26 16:02:40 -03:00
2017-11-15 17:53:42 -08:00
2016-04-21 15:55:09 +01:00
2016-04-10 20:59:55 +01:00
2019-03-24 10:38:51 +01:00
2016-05-04 18:16:21 +02:00
2016-09-03 13:56:40 +02:00
2016-06-21 21:55:34 +02:00
2016-04-21 15:55:09 +01:00
2019-11-14 23:30:37 +01:00
2017-03-21 17:02:30 -03:00
2017-03-21 17:02:30 -03:00
2019-03-24 10:38:51 +01:00
2017-10-05 17:10:23 +02:00
2016-06-21 21:55:34 +02:00
2016-06-21 21:55:34 +02:00
2016-11-30 00:22:45 +01:00
2016-04-10 20:59:55 +01:00
2017-10-05 17:10:23 +02:00
2016-04-10 20:59:55 +01:00
2017-05-22 01:09:21 +02:00
2018-06-18 01:16:03 +02:00
2017-09-25 23:44:53 -03:00
2017-06-07 11:08:06 +02:00
2017-06-27 15:09:12 +02:00
2017-03-29 14:49:29 +02:00
2016-04-10 20:59:55 +01:00
2017-09-24 21:54:13 +02:00
2019-03-24 10:38:51 +01:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2017-03-21 17:02:30 -03:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2017-05-24 20:28:00 -03:00
2016-06-27 17:56:47 +02:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2017-09-24 15:54:38 +01:00
2017-06-13 19:48:08 +02:00
2016-02-29 16:51:10 +00:00
2017-06-17 17:16:13 -03:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2018-01-28 15:33:09 +01:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2017-03-31 10:40:34 +02:00
2017-02-18 04:18:30 +01:00
2017-09-09 12:07:14 +02:00
2017-03-19 18:28:40 +01:00
2016-12-07 22:40:59 -03:00
2019-03-24 10:38:51 +01:00
2017-12-01 01:26:15 -03:00
2016-04-21 15:55:09 +01:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2016-12-17 23:52:25 +01:00
2018-10-28 02:22:42 +02:00
2016-04-10 20:59:55 +01:00
2017-03-21 17:02:30 -03:00
2018-07-07 12:27:00 +02:00
2016-08-05 16:18:49 +02:00
2016-06-21 21:55:34 +02:00
2017-03-29 14:49:29 +02:00
2019-11-14 23:30:37 +01:00
2018-07-17 11:46:33 +02:00
2017-09-28 18:15:45 +02:00
2016-04-10 20:59:55 +01:00
2017-10-04 02:16:11 +02:00
2019-11-14 23:30:37 +01:00
2017-03-31 10:40:34 +02:00
2017-03-21 17:02:30 -03:00
2017-09-23 19:37:21 -03:00
2016-06-21 21:55:34 +02:00
2016-12-21 23:41:49 +01:00
2019-03-24 10:38:51 +01:00
2016-06-21 21:55:34 +02:00
2017-07-06 21:28:20 -04:00
2017-09-01 02:16:33 -03:00
2017-02-21 10:16:20 +01:00
2016-04-10 20:59:55 +01:00
2017-02-01 19:21:01 +01:00
2016-04-10 20:59:55 +01:00
2016-05-21 18:49:45 +02:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2017-06-24 18:51:29 +02:00
2017-08-27 19:23:37 +02:00
2016-04-10 20:59:55 +01:00
2017-01-12 23:24:39 +01:00
2017-10-03 23:29:20 +02:00
2017-10-03 18:34:37 +02:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2017-05-10 14:00:20 +02:00
2017-03-29 14:49:29 +02:00
2018-10-28 02:22:42 +02:00
2017-03-30 13:26:04 +02:00
2017-05-02 08:43:12 +02:00
2019-03-24 10:38:51 +01:00
2016-11-07 00:51:49 +01:00
2018-06-18 01:16:03 +02:00
2016-08-03 16:09:03 +02:00
2017-06-22 16:12:51 -03:00
2017-07-25 22:04:34 +02:00
2018-06-18 01:16:03 +02:00
2016-06-21 21:55:34 +02:00
2017-02-07 18:27:21 +01:00
2018-06-18 01:16:03 +02:00
2016-11-08 17:54:34 +01:00
2016-04-10 20:59:55 +01:00
2016-12-03 03:59:13 +01:00
2018-06-18 01:16:03 +02:00
2018-06-18 01:16:03 +02:00
2017-12-01 01:24:17 -03:00
2017-02-11 12:00:38 +01:00
2017-02-11 12:00:38 +01:00
2017-10-05 17:10:23 +02:00
2017-03-29 14:49:29 +02:00
2017-06-24 18:51:29 +02:00
2017-06-03 23:14:04 +02:00
2017-07-30 14:31:04 +10:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2017-06-13 19:49:06 +02:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2017-06-27 12:54:06 +02:00
2016-11-13 11:38:15 +01:00
2016-07-17 13:10:27 -03:00
2018-07-07 12:27:00 +02:00
2017-01-29 01:20:52 +01:00
2016-11-08 17:54:34 +01:00
2017-03-21 17:02:30 -03:00
2017-09-01 17:56:33 +02:00
2019-09-06 19:01:27 -03:00
2016-04-10 20:59:55 +01:00
2016-06-09 10:35:13 +02:00
2017-09-01 02:16:33 -03:00
2016-04-10 20:59:55 +01:00
2016-06-12 17:26:43 -03:00
2017-08-02 15:26:35 +02:00
2017-09-28 00:28:38 -03:00
2017-09-28 00:28:38 -03:00
2017-08-02 15:26:25 +02:00
2017-08-27 19:23:30 +02:00
2017-03-02 11:39:54 +01:00
2018-10-28 02:22:42 +02:00
2017-06-18 16:16:52 +02:00
2017-03-29 14:49:29 +02:00
2017-03-29 14:49:29 +02:00
2016-04-10 20:59:55 +01:00
2017-03-31 10:40:34 +02:00
2016-04-21 15:55:09 +01:00
2017-03-24 12:43:49 +01:00
2017-03-24 12:43:49 +01:00
2017-01-02 19:35:47 +01:00
2017-09-26 18:29:05 -03:00
2017-09-26 18:29:05 -03:00
2017-09-26 18:34:25 -03:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2016-07-25 19:39:13 +02:00
2017-04-05 17:03:21 +01:00
2016-10-22 03:53:38 +02:00
2017-01-13 10:27:03 +01:00
2017-01-13 10:27:03 +01:00
2017-08-23 22:19:33 +02:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2017-03-31 10:40:34 +02:00
2017-03-31 10:40:34 +02:00
2017-03-19 18:24:35 +01:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2017-02-07 18:27:21 +01:00
2017-04-05 17:03:21 +01:00
2016-04-10 20:59:55 +01:00
2016-06-13 18:40:14 +02:00
2016-06-21 21:55:34 +02:00
2016-06-14 08:00:17 +02:00
2017-03-31 10:40:34 +02:00
2017-04-05 17:03:21 +01:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2016-06-21 21:55:34 +02:00
2017-02-07 18:27:21 +01:00
2016-04-10 20:59:55 +01:00
2016-06-21 21:55:34 +02:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2016-06-26 15:12:48 +02:00
2016-06-13 18:09:34 +02:00
2016-06-21 21:55:34 +02:00
2017-10-07 20:47:10 +02:00
2016-06-21 21:55:34 +02:00
2017-03-30 10:26:29 +02:00
2019-03-24 10:38:51 +01:00
2017-10-03 23:08:06 -03:00
2017-07-10 15:02:29 -04:00
2017-07-26 21:23:07 +03:00
2016-04-10 20:59:55 +01:00
2016-04-21 15:55:09 +01:00
2016-04-21 15:55:09 +01:00
2016-04-10 20:59:55 +01:00
2019-11-14 23:30:37 +01:00
2017-01-30 11:00:58 +01:00
2017-01-30 11:00:58 +01:00
2016-02-29 16:51:10 +00:00
2017-10-07 20:47:10 +02:00
2016-04-10 20:59:55 +01:00
2017-01-22 13:00:25 +01:00
2017-01-25 12:00:02 +01:00
2016-06-21 21:55:34 +02:00
2017-09-21 16:17:02 -08:00
2017-02-21 19:05:04 +01:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2017-03-21 17:02:30 -03:00
2017-09-22 01:33:22 +02:00
2017-03-30 10:26:29 +02:00
2016-04-10 20:59:55 +01:00
2016-12-14 01:06:55 +01:00
2017-03-21 17:02:30 -03:00
2016-06-21 21:55:34 +02:00
2016-04-10 20:59:55 +01:00
2017-03-31 10:40:34 +02:00
2017-03-29 14:49:29 +02:00
2016-04-10 20:59:55 +01:00
2016-05-11 19:13:03 +01:00
2016-04-21 15:55:09 +01:00
2016-04-10 20:59:55 +01:00
2017-06-17 22:36:54 +02:00
2017-09-25 21:26:38 -03:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2017-09-09 12:07:14 +02:00
2016-04-10 20:59:55 +01:00
2016-05-03 15:45:10 +02:00
2017-09-01 02:16:33 -03:00
2017-03-21 17:02:30 -03:00
2017-03-21 17:02:30 -03:00
2017-05-10 14:00:20 +02:00
2016-04-10 20:59:55 +01:00
2016-08-02 20:22:55 +02:00
2016-08-02 20:22:55 +02:00
2017-01-24 02:36:51 +01:00
2016-08-05 18:59:21 +02:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2017-09-26 15:05:32 +02:00
2017-03-24 12:59:21 +01:00
2017-05-31 12:07:43 +02:00
2016-12-17 19:46:30 +01:00
2016-04-21 15:55:09 +01:00
2016-04-10 20:59:55 +01:00
2017-03-21 17:02:30 -03:00
2016-08-04 16:25:40 -03:00
2017-03-21 17:02:30 -03:00
2016-04-10 20:59:55 +01:00
2016-09-03 15:18:40 +02:00
2017-04-23 14:30:53 +07:00
2016-04-21 16:01:50 +01:00
2017-06-24 18:51:29 +02:00
2018-10-28 02:22:42 +02:00
2016-06-09 10:35:13 +02:00
2016-04-10 20:59:55 +01:00
2016-04-14 18:21:08 +02:00
2017-03-21 17:02:30 -03:00
2017-10-11 01:23:47 +02:00
2017-03-05 16:34:32 +01:00
2017-03-21 17:02:30 -03:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2017-05-16 01:53:05 +02:00
2016-06-17 10:36:09 -04:00
2019-11-14 23:30:37 +01:00
2016-07-15 10:36:05 +02:00
2019-11-14 23:30:37 +01:00
2017-10-09 17:06:19 +02:00
2017-10-05 09:49:22 +02:00
2017-03-29 14:49:29 +02:00
2019-11-14 23:30:37 +01:00
2019-03-24 10:38:51 +01:00
2017-09-25 21:26:38 -03:00
2016-04-10 20:59:55 +01:00
2016-04-10 20:59:55 +01:00
2016-10-17 20:42:18 +02:00
2017-03-29 14:49:29 +02:00
2019-11-14 23:30:37 +01:00
2019-11-14 23:30:37 +01:00
2017-09-25 21:26:38 -03:00
2019-03-24 10:38:51 +01:00
2016-04-10 20:59:55 +01:00
2017-03-21 17:02:30 -03:00
2016-04-10 20:59:55 +01:00
2016-11-07 00:51:49 +01:00
2017-01-30 01:40:48 +01:00
2017-03-29 14:49:29 +02:00
2016-04-14 15:55:10 -03:00
2016-12-08 00:26:41 +01:00
2016-04-10 20:59:55 +01:00