avformat/iff: Check that we have a stream in read_dst_frame()
authorMichael Niedermayer <[email protected]>
Sun, 9 Feb 2025 00:28:17 +0000 (01:28 +0100)
committerMichael Niedermayer <[email protected]>
Thu, 27 Feb 2025 16:53:24 +0000 (17:53 +0100)
commit80ebfdb7ca88219d4e3cea146140cafc91052bb1
treeae7c60ca864f007c6652ceb8180b19b59fc2e629
parente134cf57980489e175fec58b7d0d94290015cf9a
avformat/iff: Check that we have a stream in read_dst_frame()

Fixes: null pointer dereference
Fixes: 385644864/clusterfuzz-testcase-minimized-ffmpeg_dem_IFF_fuzzer-4551049565765632

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Peter Ross <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit 8668957ef604bd2b99175310638bc5031ae0d991)
Signed-off-by: Michael Niedermayer <[email protected]>
libavformat/iff.c