FFmpeg/libavformat
Michael Niedermayer b92260f70a
avformat/lafdec: Check for EOF in header reading
Fixes: OOM testcase
Fixes: 51527/clusterfuzz-testcase-minimized-ffmpeg_dem_LAF_fuzzer-5453663505612800

OOM can still happen after this as an arbitrary sized block is allocated and read
this would require a redesign or some limit on the sample rate.

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2022-12-23 00:43:02 +01:00
..
2022-05-10 07:37:38 +02:00
2022-09-23 20:27:35 +02:00
2022-09-24 17:57:35 +02:00
2022-12-01 11:21:15 +01:00
2022-12-01 11:21:15 +01:00
2022-10-24 02:00:31 +02:00
2022-09-04 15:03:32 -04:00
2022-06-09 20:46:10 +02:00
2022-05-10 07:37:38 +02:00
2022-12-01 11:21:14 +01:00
2022-09-24 17:57:36 +02:00
2022-12-01 11:21:14 +01:00
2022-09-24 17:57:37 +02:00
2022-12-01 11:21:15 +01:00
2022-12-01 11:21:14 +01:00
2022-12-01 11:21:14 +01:00
2022-12-01 11:21:15 +01:00
2022-09-22 17:44:05 +02:00
2022-05-10 07:37:38 +02:00
2022-07-16 22:40:44 +02:00
2022-09-30 19:11:36 +02:00
2022-12-01 11:21:14 +01:00
2022-09-23 20:27:35 +02:00
2022-05-10 07:37:38 +02:00
2022-05-10 07:37:38 +02:00
2022-12-01 11:21:14 +01:00
2022-10-18 13:20:37 +11:00
2022-09-24 18:28:19 +02:00
2022-07-07 21:52:52 +02:00
2022-08-31 16:24:22 +02:00
2022-10-24 02:00:31 +02:00
2022-10-04 23:47:54 +02:00
2022-05-10 07:37:38 +02:00
2022-12-01 11:21:14 +01:00