From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 9FF594E8A6 for ; Sat, 7 Feb 2026 01:53:55 +0000 (UTC) Authentication-Results: ffbox; dkim=fail (body hash mismatch (got b'sCv9aurFau75QljGJEos580Rco1XHhZQuZrck4iibbg=', expected b'eWuXXBd/yhK+ZlSJhwnYhv6xLwiwr2WWy812ycpnBz0=')) header.d=ffmpeg.org header.i=@ffmpeg.org header.a=rsa-sha256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1770429228; h=mime-version : to : date : message-id : reply-to : subject : list-id : list-archive : list-archive : list-help : list-owner : list-post : list-subscribe : list-unsubscribe : from : cc : content-type : content-transfer-encoding : from; bh=sCv9aurFau75QljGJEos580Rco1XHhZQuZrck4iibbg=; b=NhjOSdaI0qlBCdGMM6lhSvzingsj9svyOkmPKH/pT+nLCbHrwoyBnyoSCNYDVHzzyo2Tx FdJ53K/l52Ki/CTu9xSjGyHtgjBoYpzQXQYp4PNg1Ii9HGmB7f4+/SSSpqr14F1eSgtFoX1 ww0Q+5XIIIvCwNEWiIkZcpMq7/GbRuqqqYGLgrs+rLY39H1baVdJc6W26qdgyjh8DgcIrhJ ppLPMUksdK9WAgc9QyctTiHErF9vUR1TgQKE9KCTyOK6C/zXsKAB2ptYzSjrFop9vnG2EZ7 FjTvEs4uFCHRB4FJ1Zbb+EV6ZMlXVgxbT9XyeW6pQUZzO2MDxPt8fZW2c35w== Received: from [172.20.0.4] (unknown [172.20.0.4]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 4C89B6910FE; Sat, 7 Feb 2026 03:53:48 +0200 (EET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1770429212; b=lbw5G21IH4iRjbj2APjRj7dmkgVFEfpuwaFFPf98n8FSv+CUnIuhI2KSkaNd90m6wRsMy 9lZWCpCOVLBtJF2+MEUCjYlAzCV49O+6H1Sl6Ogy9RmuE85fVrbTzRjMF2+4Vms2sbTUBz3 GoI+QlAV7Py/YsfvgFQvwShmnI8MrfSOv8ldPP99X7SaX4wnjoR1qUXc73s2SGvMsGEmoLb apH9L30D4NvHaYOLyCBfJHfc18kmkYCi4rvvh7gs+dGUox+vPcXoRclLJtkdSqM8oXFE/Ez GooE0MhvnojAVIaiuiaQnung1d1Ta0rf0SRUVyEy9OCyemUg5pg5zoqPZAiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1770429212; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=EVzYhol61ZQz/tQpHZEkatsf8/hFMYXomVD6TORi/mY=; b=nemWNAFFSut4RKKnQNuBsA+8ywb2GRkyz+V6Ty5D6y5v6Hka48XcNvwyww2fHA9vU5Jsw Gjb5wgM15Njr7CKX4D7/e5ycpNNe277lp+gCVe2BELLr5nU+96rCIIoCayQpI283nPy6Ahb pI3O36DELsRkMUO+0JWe5NUlaDC4TO7uWYwbit0VXG+TlR7hCEpbAwfLK8UjMsGe8103FuQ 35ZUYUshQCGYUMcCZ8NcIyZCQgC0nnLkYaLZLnEtHUDzFPBfGHdSf/qct4WfF99jzHWaGv6 6g2OFhPOEcW+al84o1UL/2q7lAJoT83vCSbnA/velfnfRpYWe7uiJ6t3aPZA== ARC-Authentication-Results: i=1; ffmpeg.org; dkim=pass header.d=ffmpeg.org header.i=@ffmpeg.org; arc=none; dmarc=pass header.from=ffmpeg.org policy.dmarc=quarantine Authentication-Results: ffmpeg.org; dkim=pass header.d=ffmpeg.org header.i=@ffmpeg.org; arc=none (Message is not ARC signed); dmarc=pass (Used From Domain Record) header.from=ffmpeg.org policy.dmarc=quarantine DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1770429203; h=content-type : mime-version : content-transfer-encoding : from : to : reply-to : subject : date : from; bh=eWuXXBd/yhK+ZlSJhwnYhv6xLwiwr2WWy812ycpnBz0=; b=xjwpT8I2v09nqGdAgy2Ts8VXjU6e9JIEIljKMqsaPmwL35fLUvBE+H4xUoYQo4fwqbF92 un33yMMvjZ1HFAbbFfv7RkYbVEa5Fcj7oCDolYUafvBm9rJytNVFMPEgkyLuiuBFHbochFs gfqRuf12yrYNfMKRJkbArlTNNxWPvrZuREg6h3gr43DEl3Ev3io0/o9qJ1Mz1RDLqKAyM2f HSo4LieXtOdCLjOdpJ8MH7j1HiB6Fc1b7oM44VMYzxQMb+QI9b02cpSJxA8Nshby3Xz7REw OgGBRwzK9jwgE84r/IyKv4REB/KB19Q6cxQuEw9RIGz5Q0vTP8qpDay6J1sg== Received: from c8d966988b92 (code.ffmpeg.org [188.245.149.3]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id ACBA5690881 for ; Sat, 7 Feb 2026 03:53:23 +0200 (EET) MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Date: Sat, 07 Feb 2026 01:53:23 -0000 Message-ID: <177042920384.25.1197772851221785409@4457048688e7> Message-ID-Hash: 3YDHYSA7UXW6G2LZ4RUL4G7KKUAMR67N X-Message-ID-Hash: 3YDHYSA7UXW6G2LZ4RUL4G7KKUAMR67N X-MailFrom: code@ffmpeg.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ffmpeg-devel.ffmpeg.org-0; header-match-ffmpeg-devel.ffmpeg.org-1; header-match-ffmpeg-devel.ffmpeg.org-2; header-match-ffmpeg-devel.ffmpeg.org-3; emergency; member-moderation X-Mailman-Version: 3.3.10 Precedence: list Reply-To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] [PR] avformat/iff: Error out with 0 channel loudspeaker configuration (PR #21671) List-Id: FFmpeg development discussions and patches Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: michaelni via ffmpeg-devel Cc: michaelni Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Archived-At: List-Archive: List-Post: PR #21671 opened by michaelni URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21671 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21671.patch 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 >>From 0b7877102da20f228e67b3ee61175c724520fb00 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 6 Feb 2026 23:44:40 +0100 Subject: [PATCH] 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 --- 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; } -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org