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 81BC04E8C2 for ; Sun, 8 Feb 2026 01:26:17 +0000 (UTC) Authentication-Results: ffbox; dkim=fail (body hash mismatch (got b'kX94n5XsBC7hD2jyXZJOY1fyRvd6BXuILJtl6Qej0ZQ=', expected b'HhCHnnMkifHZsWlJZu1++CRVXk8uG2/QxzMzpY9vxTw=')) 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=1770513968; 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=kX94n5XsBC7hD2jyXZJOY1fyRvd6BXuILJtl6Qej0ZQ=; b=G7EPlEwJF/luLeYHUyKaCX/zVmcoUj92CFNLGL1SBr0VrFM7YYGxGAfTYcSifXUEprykS xutU0Myc4r5Ru7WCnqKRjaXvbRHMeMOmWzmWwYl5u41REuzOH8ODPzF+Y5pMaDWZX1hAV7E +f1VqhyY7Vx/GF0uhkZHLI/vj5EJugxzbTas1O7FylK6JL3Mm6/X/3OiKOBZoW13NGQeiU1 JAe+9ok8udqXpOM4iQwHUYcibHThcTlV96aYi81oavoWRTecE4A6IcgGpc2TbTILEXxYV5l qdswr2h7mlAWV7u+vi2Hu9xOJk77+nv0WMdXKbITL4knCB6IRD8nDaayCGGg== Received: from [172.20.0.4] (unknown [172.20.0.4]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id A5CFF691104; Sun, 8 Feb 2026 03:26:08 +0200 (EET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1770513948; b=PKO7t+VkX3w/dR67LC9FZoWytfGWvIPUhswmRQsWgjOtP4cTKDdsDghqNq0QMr304+hrR +ecf3C2TYc0CIv5k1CJGO2FzvpCbSBgESYIvuiBGr9tAiB/cp96HhTL3czh7J/mUZUFntFD iB8ou+kR1PEFKfvHTfd5UL0gQk09JJZ6+/YhdOqrRs/5UFh7W8GZzfdwpkD5SnuK7XXWPVb 2e02+SNQNgXN+Pd6MUBPXiwSnFZ9URGmdTPOJTyj31MIUpf6S+oh3rjJDlSGW8RAp+CN0wU s3U+yGJxguDw5gWMyQ3Tlsr1pahGhAs65MEIAlZcXOo/kTP5XsH7H8dCPGpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1770513948; 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=zNpWLgjLOqhW9ojX3dDLVQ/maKak+GvKGi9KWLB2QOQ=; b=MHEyJ1NsMU4ztNPPAiN7VoChowq12AD68qgxqYkheoWVXDR7rn4lBD7KSsnqSkHP51S92 0h/8wpcHDqKyJmieeWWUu7a9qqIwf2Bf9oqQ1VnU8tNlo7gDeCiXCSyxFuvT6K6Mek5+PAD KqRehqPiYsw1mSxeH403y5BOJkfWMyGUuVi22Gl/NBSwCVDYoe2mr6MTFvYO4zWy4xe+LDH jP8FF4XSEERKKGTmmMh9cdZGThAZ6nhSfQhIUfapRqTvY57A1oqGPDf83+9nuiNaOGsjS83 9r3mrGRAG+7kvByh3NxAqehVRRlCfCC98EpTCzTvlF/fQ1jwCquX7PNFM4qQ== 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=1770513938; h=content-type : mime-version : content-transfer-encoding : from : to : reply-to : subject : date : from; bh=HhCHnnMkifHZsWlJZu1++CRVXk8uG2/QxzMzpY9vxTw=; b=K4a499/UsVuiQijFLF0W831RvK7oYNisoO3Ww7J2MsGx5nLMAWs5sRMQKulk4K3uRdNJ1 6OIs/mA6bgZNdkwp7kIsieWT83anwUj2RRsqh+19KXMvQAsN7NwTGtouFd1bHM6H1IV2ysN 4or6eBIvghCceCVRJ9LFHtwPIocHcHk+vi6Qw81oCPkminvulX/eDvcdrCY6UOupys/urtL RO4gIqXMDVSfKxN8HXUQqlQzk+Uu+4MBEB5xDpvcuxDRjGl4qhU1os+tbm3SIUTT5dpaInA w7q38xyvZH9z9bxLIJUMXFQgL2oG2hsw5NohCqmbYImgQm1eeeFAN+PPKZRw== Received: from c8d966988b92 (code.ffmpeg.org [188.245.149.3]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 4B92D68EEAD for ; Sun, 8 Feb 2026 03:25:38 +0200 (EET) MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Date: Sun, 08 Feb 2026 01:25:37 -0000 Message-ID: <177051393867.25.16155525984145241267@4457048688e7> Message-ID-Hash: EJT6S7X6VAUUFPU6BNFNUHS7VTZPSVJT X-Message-ID-Hash: EJT6S7X6VAUUFPU6BNFNUHS7VTZPSVJT 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/scd: Use ffio_read_size() (PR #21679) 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 #21679 opened by michaelni URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21679 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21679.patch Fixes: use of uninitialized memory Fixes: 471771529/clusterfuzz-testcase-minimized-ffmpeg_dem_SCD_fuzzer-5328203515494400 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer >>From a5007428e853c5a61e4ac3c6e24fa0304c3d0c1e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 8 Feb 2026 00:19:12 +0100 Subject: [PATCH] avformat/scd: Use ffio_read_size() Fixes: use of uninitialized memory Fixes: 471771529/clusterfuzz-testcase-minimized-ffmpeg_dem_SCD_fuzzer-5328203515494400 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/scd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/scd.c b/libavformat/scd.c index 06d3408e15..091d20824c 100644 --- a/libavformat/scd.c +++ b/libavformat/scd.c @@ -122,7 +122,7 @@ static int scd_read_offsets(AVFormatContext *s) SCDDemuxContext *ctx = s->priv_data; uint8_t buf[SCD_OFFSET_HEADER_SIZE]; - if ((ret = avio_read(s->pb, buf, SCD_OFFSET_HEADER_SIZE)) < 0) + if ((ret = ffio_read_size(s->pb, buf, SCD_OFFSET_HEADER_SIZE)) < 0) return ret; ctx->hdr.table0.count = AV_RB16(buf + 0); -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org