FFmpeg/libavformat
Michael Niedermayer da8b2f9704 avformat/iamfdec: check nb_streams in header read
Fixes: Assertion pkt->stream_index < (unsigned)s->nb_streams && "Invalid stream index.\n" failed at libavformat/demux.c:572
Fixes: 67890/clusterfuzz-testcase-minimized-ffmpeg_dem_IAMF_fuzzer-5166340789829632.fuzz

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 9f54c13bc4650c59fe2ffb04f5b85145f196fbb7)
2024-05-01 15:46:44 -03:00
..
2023-01-27 19:45:36 +01:00
2022-12-01 11:21:15 +01:00
2024-03-26 06:36:43 +01:00
2024-03-11 16:52:42 +01:00
2023-06-27 12:52:38 -03:00
2022-03-16 14:05:26 +02:00
2024-03-26 06:36:43 +01:00
2024-03-17 15:10:05 +01:00
2024-03-26 00:08:25 +01:00
2023-05-31 09:03:58 -07:00
2024-03-22 23:57:19 +01:00
2023-09-28 19:37:58 +02:00
2023-11-08 17:37:58 +11:00
2024-03-15 12:51:15 +01:00
2024-03-15 12:51:15 +01:00
2022-03-26 00:42:00 +02:00
2024-03-15 12:51:15 +01:00
2022-08-31 16:24:22 +02:00
2024-03-27 01:04:53 +01:00
2024-03-26 06:36:43 +01:00
2024-03-26 06:36:43 +01:00