From patchwork Thu Aug 18 22:35:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 37355 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:139a:b0:8f:1db5:eae2 with SMTP id w26csp573077pzh; Thu, 18 Aug 2022 15:35:51 -0700 (PDT) X-Google-Smtp-Source: AA6agR6WcxPHrWeSIyrPzAig0WgcEVAJSsU8L+fuqHLfM3zm/WAvXzbLJyR6VjZo538nHqlIAh9K X-Received: by 2002:a05:6402:35c1:b0:43d:fd2c:ae15 with SMTP id z1-20020a05640235c100b0043dfd2cae15mr3918331edc.63.1660862151167; Thu, 18 Aug 2022 15:35:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660862151; cv=none; d=google.com; s=arc-20160816; b=05c8VVosT9vTFtaLtPOWd07KdOxuczmm0FPLooZQA1IeHnwautlRi2tyt5lDPLZPA/ LTgxmccFa3/QJ+rJau9DsOZhb6DLvu4s4eNimyFI53D/LEiv9mY+y/poooCjUNqn+zHn rbfUvG8BtVX9gQ8MNhWmtizocTbuVLx0sdkzu4CYxYB8cmETZVLmFBO5CV1TNCwgXMLr TPhLMnZez+fJBa05UpZMr4HyCkOoHw2IgyoqBktEtfbR9KN+4RPOVAfkhnvecAIjGI8I 5pvdOKtalxQa3Q5k8L96cw1WZ0jTW+CdWpgsuUkglhKysGy3ReADK6rHoO/5gotYGzVq vdQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:delivered-to; bh=FI+D1wpXs+t/pm9Va5RpdAdT/OvZsEyuOF/HTpAkTB0=; b=Xz4Nsxa6qLtmzbfCSsqAsB/UrCcQ88T5iQtCVsDSQ6wGBAyP4z3b/EQTyjOwG8odxd KnQVj2U6gsF0tEboL7ROAXO72xFJP++mCpPKcmR5bR3Ygjx/lOz+mlidj34caXn9JSAp h9RQlNiWpGxYOoIn2luqtfMxgwN3Krci6G40mcEGXs+qgGNNaNkK5rLkqF3gYssPyzz2 DUtaGNG5oolXOQs7Av7O7Ce226LwwCkZ0zFJTOqIOiL/O6D9JczgYSqB0vCkskAks2Fp j3OXjz6pgL9emFot+7H16EewaLK91vAyqBvZnOxEtb2Ia5IszxDDUN7Vaj5ln6jMeyBo z6sg== ARC-Authentication-Results: i=1; mx.google.com; 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 u26-20020a50a41a000000b00445f9c5ea88si1839259edb.294.2022.08.18.15.35.49; Thu, 18 Aug 2022 15:35:51 -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; 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 7E18568B8EF; Fri, 19 Aug 2022 01:35:45 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from vie01a-dmta-at03-1.mx.upcmail.net (vie01a-dmta-at03-1.mx.upcmail.net [62.179.121.151]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6B79368B8DA for ; Fri, 19 Aug 2022 01:35:38 +0300 (EEST) Received: from [172.31.216.235] (helo=vie01a-pemc-psmtp-pe12.mail.upcmail.net) by vie01a-dmta-at03.mx.upcmail.net with esmtp (Exim 4.92) (envelope-from ) id 1oOo6y-00GsNS-Ti for ffmpeg-devel@ffmpeg.org; Fri, 19 Aug 2022 00:35:36 +0200 Received: from ren-mail-psmtp-mg02. ([80.109.253.241]) by vie01a-pemc-psmtp-pe12.mail.upcmail.net with ESMTP id Oo6yoxtTm8s8UOo6yolzmm; Fri, 19 Aug 2022 00:35:36 +0200 Received: from localhost ([213.47.68.29]) by ren-mail-psmtp-mg02. with ESMTP id Oo6yox80z8eSWOo6yony7m; Fri, 19 Aug 2022 00:35:36 +0200 X-Env-Mailfrom: michael@niedermayer.cc X-Env-Rcptto: ffmpeg-devel@ffmpeg.org X-SourceIP: 213.47.68.29 X-CNFS-Analysis: v=2.4 cv=KKE5sHJo c=1 sm=1 tr=0 ts=62febeb8 a=2hcxjKEKjp0CzLx6oWAm4g==:117 a=2hcxjKEKjp0CzLx6oWAm4g==:17 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=GEAsPZ9sns4A:10 a=NEAV23lmAAAA:8 a=EfaNEuAiC44ZH2k_WtwA:9 From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Fri, 19 Aug 2022 00:35:34 +0200 Message-Id: <20220818223535.13078-3-michael@niedermayer.cc> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220818223535.13078-1-michael@niedermayer.cc> References: <20220818223535.13078-1-michael@niedermayer.cc> X-CMAE-Envelope: MS4wfA3RAIXNbvKSszyQ51ZPszgVERCdfcSAELd4DSQvucCJurhlUpWuQiswA2tT+XzjCqUTget0c6XWFb8n1PMykHVnO27yc60NjpfeIHjfxKqgYq8FkTX6 3y4R1gCC/PCXsJkJd0uI8lcjGt0LlRypPe4gXZwgBjUBKkgQNDazIQ2lorFWvqk2N2qYKM5T9pkz5g== Subject: [FFmpeg-devel] [PATCH 3/4] tools/target_dec_fuzzer: Adjust threshold for bethsoftvid 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 MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: NlmZwI+1434i Fixes: Timeout Fixes: 49791/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BETHSOFTVID_fuzzer-4583956145635328 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 28042077c6..0fb9328d2c 100644 --- a/tools/target_dec_fuzzer.c +++ b/tools/target_dec_fuzzer.c @@ -213,6 +213,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { case AV_CODEC_ID_ANM: maxpixels /= 1024; break; case AV_CODEC_ID_ARBC: maxpixels /= 1024; break; case AV_CODEC_ID_ARGO: maxpixels /= 1024; break; + case AV_CODEC_ID_BETHSOFTVID: maxpixels /= 8192; break; case AV_CODEC_ID_BINKVIDEO: maxpixels /= 32; break; case AV_CODEC_ID_CDTOONS: maxpixels /= 1024; break; case AV_CODEC_ID_CFHD: maxpixels /= 16384; break;