Michael Niedermayer
1fedba3c35
avcodec/tiff: Enforce increasing offsets
...
This may break some valid tiff files, it appears the specification does not require
the offsets to be increasing. They increase in the 2 test files i have though except
the last offset which is 0 (an end marker) and for which a special case is added to
avoid asking for a sample for that end marker.
See: [FFmpeg-devel] [PATCH 2/2] avcodec/tiff: Detect infinite retry loop
for an alternative implementation
Fixes: Timeout (Infinite -> Finite)
Fixes: 15706/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5114674904825856
This variant was requested by paul on IRC
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-08-11 19:13:21 +02:00
..
2019-08-02 19:01:51 +02:00
2019-07-08 09:49:45 +02:00
2019-08-11 19:13:21 +02:00
2019-07-26 11:57:16 +01:00
2019-07-25 15:13:09 +01:00
2019-07-19 21:42:38 +02:00
2019-07-08 08:27:18 +02:00
2019-08-11 19:13:21 +02:00
2019-08-05 17:50:27 +02:00
2019-07-27 01:43:00 +02:00
2019-08-05 17:50:27 +02:00
2019-07-28 18:23:07 +01:00
2019-07-17 17:56:15 -03:00
2019-08-05 16:58:40 +02:00
2019-07-27 01:43:00 +02:00
2019-08-05 17:53:14 +02:00
2019-07-29 22:25:10 +01:00
2019-07-29 19:57:06 +01:00
2019-07-08 22:59:41 +01:00
2019-07-20 11:28:09 -03:00
2019-07-20 11:28:09 -03:00
2019-07-29 22:25:10 +01:00
2019-07-29 22:25:10 +01:00
2019-07-29 22:25:10 +01:00
2019-07-29 23:17:46 +01:00
2019-07-29 22:25:10 +01:00
2019-07-29 22:25:10 +01:00
2019-07-29 22:25:10 +01:00
2019-07-29 22:25:10 +01:00
2019-08-05 17:54:24 +02:00
2019-08-03 17:44:23 +02:00
2019-08-11 19:13:21 +02:00
2019-08-05 17:54:24 +02:00
2019-07-17 23:18:50 +02:00
2019-07-14 22:17:43 +02:00
2019-07-13 19:34:15 +02:00
2019-07-20 19:05:02 +02:00
2019-07-08 08:21:03 +02:00
2019-07-29 22:58:43 +02:00
2019-07-29 22:58:43 +02:00
2019-07-20 19:05:02 +02:00
2019-07-19 21:42:38 +02:00
2019-07-21 11:26:35 +02:00
2019-08-11 00:03:35 +02:00
2019-07-08 09:56:29 +02:00
2019-08-04 16:12:02 +02:00
2019-07-19 21:42:38 +02:00
2019-07-29 19:57:09 +01:00
2019-07-08 22:59:41 +01:00
2019-07-19 21:42:38 +02:00
2019-07-14 13:04:46 -03:00
2019-07-07 22:59:22 +01:00
2019-07-20 11:28:09 -03:00
2019-07-14 13:04:46 -03:00
2019-08-03 20:32:20 +02:00
2019-07-08 09:56:08 +02:00
2019-07-13 14:42:57 +02:00
2019-07-13 14:42:57 +02:00
2019-08-05 17:54:24 +02:00
2019-07-08 10:00:41 +02:00
2019-08-03 17:44:23 +02:00
2019-07-17 23:18:50 +02:00
2019-08-10 23:52:59 +02:00
2019-08-05 17:54:24 +02:00
2019-07-11 16:53:09 +02:00
2019-07-22 08:57:33 +02:00
2019-07-22 08:57:33 +02:00
2019-08-11 19:13:21 +02:00
2019-07-24 15:32:15 +02:00
2019-07-27 22:00:43 +01:00
2019-08-02 16:44:34 +01:00
2019-08-05 17:54:24 +02:00
2019-08-05 17:54:24 +02:00
2019-08-05 17:50:27 +02:00
2019-08-05 17:54:24 +02:00
2019-08-05 17:54:24 +02:00
2019-07-17 23:18:50 +02:00
2019-08-11 19:13:21 +02:00
2019-07-08 09:44:36 +02:00
2019-08-11 02:06:44 +02:00
2019-08-05 17:54:24 +02:00
2019-07-08 09:54:55 +02:00
2019-08-05 18:42:51 +02:00
2019-07-08 09:38:05 +02:00
2019-07-08 09:38:03 +02:00
2019-07-20 13:43:06 -03:00
2019-08-11 19:13:21 +02:00
2019-07-09 13:23:47 +02:00
2019-07-31 20:35:07 +02:00
2019-07-08 09:54:24 +02:00
2019-07-25 00:06:10 +02:00
2019-07-28 22:34:26 +01:00
2019-07-28 22:34:26 +01:00
2019-07-28 22:34:26 +01:00
2019-07-28 22:34:26 +01:00
2019-07-28 22:34:26 +01:00
2019-07-28 22:34:26 +01:00
2019-07-28 22:34:26 +01:00
2019-08-11 19:13:21 +02:00
2019-07-31 20:35:07 +02:00
2019-08-11 00:06:12 +02:00
2019-07-21 18:36:31 +02:00
2019-08-11 10:52:15 -04:00
2019-08-05 17:54:24 +02:00
2019-08-03 12:05:37 +02:00
2019-07-24 15:32:15 +02:00
2019-08-03 17:10:24 +02:00
2019-07-28 19:02:34 +01:00
2019-08-05 18:43:45 +02:00