From patchwork Sun Sep 22 21:56:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 51705 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:d154:0:b0:48e:c0f8:d0de with SMTP id bt20csp2134670vqb; Sun, 22 Sep 2024 14:56:57 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVT78g2Gm5oyNvhZ6OlnVDDuw4RIs5GHFnetBkr/RdeHG/S0i4RaGrhAOyKPag7SBPHBYHz2k6tcXAxfSi38HUu@gmail.com X-Google-Smtp-Source: AGHT+IF0Y1OghR8XDhXPCz0c7mu/iBbbY3O6tMF57s9Rsi3k9nzD9MlVC5pjGUGyfBrc7hYOXBHw X-Received: by 2002:a17:907:f74e:b0:a86:9c41:cfc1 with SMTP id a640c23a62f3a-a90d4fe01e1mr940283666b.8.1727042217402; Sun, 22 Sep 2024 14:56:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727042217; cv=none; d=google.com; s=arc-20240605; b=DQiuVKwaLePh0Ghn+QIEJVth+puWzwfd04NYxVfrubG8RHKsoSmoj49xvRcIvwTbM6 TvHr8aeJkIwUAcfbG2wIhqTmXHv53SRlD4DuY/1Ry/1IMP8FIL+qx8J8GQEXnp3LCo7T ri71xt5qAPvIImf5zZxJucFi+5H9dlo1mCu7Ip0z1lbhzBY4awa0EeRS6q6on4NitBt0 giMQOREmcktJY1z3uemLdqb3EgtOb5INlD/bVuYZL2EzYmz9nBGDYDAiKY3YZPlwSH48 XK8Lybxrof/UgSl4gL0tFVw231xrjMXhjMh63GppLJSsh7yh+/rAAeTF+wh8YWX7RfqU d/cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:message-id:date:to:from :dkim-signature:delivered-to; bh=Z4ZVjeFTp2uBJf35y+nxYxctnKrx6oFlp6xYVO0fQVg=; fh=e5zN9xSzcxLA6bGo3lF+CqTbY/oLwzApV03EO/RBfgQ=; b=e5R1Po1gPIF2AoVvGd3WxaVVn6NBDgcHyA1x7+Fc+N/CMnAJYpo2NRBzacz6HOffIc ie1aHPankvPPKyqYzWn1DQbQBYDs+9vSU6UhFJ2xfrKaCIzfTkSV3rJfXhqtcd6Tg8tD ediA9hL+Wv89gRdm57kZ8KWIgslpES/m73FxiqJT4KRBb9pjOIT3Du/eVgCJYybRfrqF 5Vf0+Rn9ZIvO3OjGhTWhViEi5jci0H7KltrzxKlMRcLuazjNQqe+xPsmkCBG654Bnw5g UhL/A2DXzXLDXP5VAviEFaLwQM3oKgbIyvYWX9VZ7USHtC6NNzcMl05cmeUJEulTm8pv eqQw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@niedermayer.cc header.s=gm1 header.b="YM/Ue1c9"; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id a640c23a62f3a-a90612cc410si1232067066b.424.2024.09.22.14.56.56; Sun, 22 Sep 2024 14:56:57 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@niedermayer.cc header.s=gm1 header.b="YM/Ue1c9"; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 436FD68DB03; Mon, 23 Sep 2024 00:56:54 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 75CD468D9C1 for ; Mon, 23 Sep 2024 00:56:47 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 7AB91E0002 for ; Sun, 22 Sep 2024 21:56:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1727042206; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=gDWTjZ7ESfT9pvdAJFTd1t0NyNwoKLGu+TxiZvJ3vks=; b=YM/Ue1c9+9FxN88f+VJY8ZGlQQ6ZTWFPtQbv7ej/BQtyIPW1eAAhsLGrE8uxLFz1nfZbtk XNBYxHCCL4UdgevYhTmFN+oe20L5jK235SeBe7YN8OJdLV5O8OIxkwra/2bVsvQpyp9isw o2+PGxZtrl3dFnZWIkPFpplAWiSfNLz2NwlZwrdXfD8kObKL6qs9iZWGnXbXrdensHFhmr iasBw3QQnaNy1VcWCPvbOmN47Igv/tOoSJvh+kT8ZEA1PwlUf7q5cgryDJyKrgAvY5zH+p gJ4cguC8ehOKTZl23mtUQYaf8SvB8oQmfX87T9PTCcoIwWuG2NgQr1GMZPizjA== From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Sun, 22 Sep 2024 23:56:36 +0200 Message-ID: <20240922215645.1182935-1-michael@niedermayer.cc> X-Mailer: git-send-email 2.46.1 MIME-Version: 1.0 X-GND-Sasl: michael@niedermayer.cc Subject: [FFmpeg-devel] [PATCH 01/10] tools/target_dec_fuzzer: Add threshold for SRGC X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: /EfnuoTy1uYs Fixes: Timeout Fixes: 71234/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SRGC_fuzzer-5098445864501248 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c index 81ee4ef1a4e..432e9488168 100644 --- a/tools/target_dec_fuzzer.c +++ b/tools/target_dec_fuzzer.c @@ -296,6 +296,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { case AV_CODEC_ID_SMACKAUDIO: maxsamples /= 4096; break; case AV_CODEC_ID_SMACKVIDEO: maxpixels /= 64; break; case AV_CODEC_ID_SNOW: maxpixels /= 128; break; + case AV_CODEC_ID_SRGC: maxpixels /= 128; break; case AV_CODEC_ID_TARGA: maxpixels /= 128; break; case AV_CODEC_ID_TAK: maxsamples /= 1024; break; case AV_CODEC_ID_TGV: maxpixels /= 32; break;