This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 9bfa1635ae avformat/iff: Error out with 0 channel loudspeaker
configuration
9bfa1635ae is described below
commit 9bfa1635aef08e777deaeeae15ff9a5ade412188
Author: Michael Niedermayer <[email protected]>
AuthorDate: Fri Feb 6 23:44:40 2026 +0100
Commit: michaelni <[email protected]>
CommitDate: Mon Feb 9 04:25:04 2026 +0000
avformat/iff: Error out with 0 channel loudspeaker configuration
Fixes: division by 0
Fixes:
478005965/clusterfuzz-testcase-minimized-ffmpeg_dem_IFF_fuzzer-5748337088462848
Fixes:
472226169/clusterfuzz-testcase-minimized-ffmpeg_dem_IFF_fuzzer-4528777763028992
Found-by: continuous fuzzing process
https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <[email protected]>
---
libavformat/iff.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavformat/iff.c b/libavformat/iff.c
index fc40ef1aea..8dccd58b35 100644
--- a/libavformat/iff.c
+++ b/libavformat/iff.c
@@ -346,8 +346,10 @@ static int parse_dsd_prop(AVFormatContext *s, AVStream
*st, uint64_t eof)
if (config != 0xFFFF) {
if (config < FF_ARRAY_ELEMS(dsd_loudspeaker_config))
st->codecpar->ch_layout = dsd_loudspeaker_config[config];
- if (!st->codecpar->ch_layout.nb_channels)
+ if (!st->codecpar->ch_layout.nb_channels) {
avpriv_request_sample(s, "loudspeaker configuration %d",
config);
+ return AVERROR_PATCHWELCOME;
+ }
}
break;
}
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]