From patchwork Mon Jun 19 23:04:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 42233 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:be15:b0:121:b37c:e101 with SMTP id ge21csp992189pzb; Mon, 19 Jun 2023 16:04:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5mW3D/ouV6VkF+EH9FTSEbMP3sca8aUIAE8+TH6ztoIFkY4hth6na1TDypU6YaMg/5J444 X-Received: by 2002:a50:ee14:0:b0:51a:4d20:3b1c with SMTP id g20-20020a50ee14000000b0051a4d203b1cmr5855165eds.18.1687215888977; Mon, 19 Jun 2023 16:04:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687215888; cv=none; d=google.com; s=arc-20160816; b=gqxI/UNyWOdlYzRlFW4fAR+IAhD08qY9EJiQAZorIBD5VLTC2d7TAjK2X/9luUbpgX L7qLoOXQT4QqFrcgNbRMCtatUJyMDMs8Kk0jWEdIIbiRYfMfw4tLmSJMHFe4Dptiw8uT m31u/V+5oriQIXWjqlZA8XWdwcV/afFhxlI4gIceiu0X76mZMxFUbQGQFoN5CLNYhqIl M2NZBmSx01tRrkfn5XC2f/9Zv/xQkNznc0aM1/SxoxC9ypDwXy5b5mn3o39TeQxorlh2 ELTZkvi+5h99GzoUAEc0DOB4F2A6H+DPgt3oNZaZcQnXGo15lapNU1lUoa0MGEt1QN+r HtVQ== 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=Ran+gQgm/meUjdyv0Uwgtohvk0ygWTd7umodVFr1Jjo=; b=BWnaOymv+J1I9uHBX3MpwzFd3piaMYLLfLWGfxhgdI178TqPZyTI8teCqXzYsUgQ2J k6NLZX8MUqRTSATmffJzpFHgQ+e6AxsI1CEGQP6wgEeCizgUsloSSI/8PiuwUIb49Zol IvGKLOC15H4N4zwsg/NWyh44ag22uJ15/slBHCHVjVxsDtFWNgtXUi/aa86Gh7L5OA7A 9GFKhxm5noywkN6sghVeMoyrFJeNVZJjrq1avDLv5habxN/R09bjJnX2gYQFnHglcqme HJHUpjYZ/IymEgt49e2aLK8/eb4eeB+mH9Z1KAsDzCTYK53R/UbEvs0iqbYWg7Jq/P5H 2gSA== 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 w24-20020a056402129800b0051a2044649bsi253321edv.223.2023.06.19.16.04.48; Mon, 19 Jun 2023 16:04:48 -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 C179668C089; Tue, 20 Jun 2023 02:04:34 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-01-1.mymagenta.at (mail-01-1.mymagenta.at [80.109.253.246]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E635768B838 for ; Tue, 20 Jun 2023 02:04:26 +0300 (EEST) Received: from [192.168.232.136] (helo=ren-mail-psmtp-mg02.) by mail-01.mymagenta.at with esmtp (Exim 4.93) (envelope-from ) id 1qBNv7-00Efcm-GC for ffmpeg-devel@ffmpeg.org; Tue, 20 Jun 2023 01:04:25 +0200 Received: from localhost ([84.115.40.24]) by ren-mail-psmtp-mg02. with ESMTP id BNv9q1jNJbZLDBNv9qup9w; Tue, 20 Jun 2023 01:04:27 +0200 X-Env-Mailfrom: michael@niedermayer.cc X-Env-Rcptto: ffmpeg-devel@ffmpeg.org X-SourceIP: 84.115.40.24 X-CNFS-Analysis: v=2.4 cv=Ufwy9IeN c=1 sm=1 tr=0 ts=6490defb a=4thelYDX6rwh+ygQwvsI+Q==:117 a=4thelYDX6rwh+ygQwvsI+Q==:17 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=GEAsPZ9sns4A:10 a=NEAV23lmAAAA:8 a=-IR0vuWKQ8UIoPaB34MA:9 From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Tue, 20 Jun 2023 01:04:23 +0200 Message-Id: <20230619230424.30270-2-michael@niedermayer.cc> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230619230424.30270-1-michael@niedermayer.cc> References: <20230619230424.30270-1-michael@niedermayer.cc> X-CMAE-Envelope: MS4xfOInTfB652qIJTu5qqjsXyxjF++QTCoXYCMN6hYdWTg36+65tDSswqLftnQMPP0hTsKBJn0MFzEWUd92zq2zSVLlIxc92qPqEnFa+GIckoyY/yPan4kZ yUJmyTT0cn87YQuCxsEArlLL+/rdfJdZC12tVGkVN9iS7moyIiM4sXkwssNJxVEccCNbiJFKPqaPSg== Subject: [FFmpeg-devel] [PATCH 2/3] tools/target_dec_fuzzer: Adjust threshold for speex 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: Io7eTjW6NeeT Fixes: Timeout Fixes: 59731/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SPEEX_fuzzer-4809436670328832 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 42de479829..165951dc9d 100644 --- a/tools/target_dec_fuzzer.c +++ b/tools/target_dec_fuzzer.c @@ -278,6 +278,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { case AV_CODEC_ID_SCPR: maxpixels /= 32; break; case AV_CODEC_ID_SCREENPRESSO:maxpixels /= 64; break; case AV_CODEC_ID_SIMBIOSIS_IMX:maxpixels /= 16384; break; + case AV_CODEC_ID_SPEEX: maxsamples /= 128; break; case AV_CODEC_ID_SMACKAUDIO: maxsamples /= 4096; break; case AV_CODEC_ID_SMACKVIDEO: maxpixels /= 64; break; case AV_CODEC_ID_SNOW: maxpixels /= 128; break;