From patchwork Sun Jul 3 00:31:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 36621 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:8b27:b0:88:1bbf:7fd2 with SMTP id l39csp1932989pzh; Sat, 2 Jul 2022 17:32:43 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v5950OcwHzzyi+B8/bUWIzDd8FJU0XApzN7G2vNMepKo2wwLBm4AhsOHdlr8fmXpVOxze4 X-Received: by 2002:a05:6402:d0a:b0:437:66ca:c211 with SMTP id eb10-20020a0564020d0a00b0043766cac211mr29117227edb.29.1656808363260; Sat, 02 Jul 2022 17:32:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656808363; cv=none; d=google.com; s=arc-20160816; b=IRFt7hkMcUk4BrBC3mA4SND50xO1CpbELeWFzw4O3kSeAt7aB9ItQhlI42locR6uRv k+XFonuQQ23MKP/33pboLWLTNtaPIwqDHoOvppa5E7xm0pk6vpsInQ4WVt0qp5BwBIaV 6C3uOLAin4yAfaXoeyEBA2uL9CpKGGayPn+QAv+m3NSEs097W5UB0A7jXWO8Y3Mh+8KI dzyMCf2NrpftAWH5YVOhp0AwJbJBO4A0JaebAMWHOTs+XzxhwXcLYWOtZl6ijQEc9DFI H1UTIJzOdD9KYwrw5pXOszMVV0Ljxrq/a7C2y7m9s3Ywl6ZG7JVNHfHnnyObq9mdNm87 LgDw== 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=RBuCKFK5dWqeH9oZloUI4FOU1Wugg9aH3hzu3p3mLqU=; b=vIvPNBMJ7jiRUqRH9u5bvdnTz23AUFTQJ5L3J38lOxtq2XeLbyCCNAXeIL8faussYu W9YekY8fKjP6UZzslG7jhu44r0Qy3hqL7mtIDyrmdDW1ay8kKoNcrrY0BJ40L7sveuzV EDBdDyfQNKoo5cvVx63pCe39P+IoZNClrNrp8c3UUFf/EFj+f1zZ2UXDimkU8x72J1wj tP3PFtltcHaHg+8ODyN1pWGMQEJsDR9tIqxwrX+GBPak0O54jKtYQQ/anZsjdZcloRrU ZSnsGEdpP3vn10cQSU1LIilS6eNZ8Z92PDiqXdfqEKYoz9TgozScxt1PIQqyt011Jm0A maTw== 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 nc3-20020a1709071c0300b00722dbb8f74esi3202983ejc.960.2022.07.02.17.32.42; Sat, 02 Jul 2022 17:32:43 -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 2AE0568B991; Sun, 3 Jul 2022 03:32:06 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from vie01a-dmta-at03-3.mx.upcmail.net (vie01a-dmta-at03-3.mx.upcmail.net [62.179.121.153]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AF9C868B91A for ; Sun, 3 Jul 2022 03:31:55 +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 1o7nWl-007Kcf-B5 for ffmpeg-devel@ffmpeg.org; Sun, 03 Jul 2022 02:31:55 +0200 Received: from ren-mail-psmtp-mg02. ([80.109.253.241]) by vie01a-pemc-psmtp-pe12.mail.upcmail.net with ESMTP id 7nUxo2thH8s8U7nWlodISO; Sun, 03 Jul 2022 02:31:55 +0200 Received: from localhost ([213.47.68.29]) by ren-mail-psmtp-mg02. with ESMTP id 7nWlosU9k8eSW7nWlooHQX; Sun, 03 Jul 2022 02:31:55 +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=62c0e37b a=2hcxjKEKjp0CzLx6oWAm4g==:117 a=2hcxjKEKjp0CzLx6oWAm4g==:17 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=GEAsPZ9sns4A:10 a=NEAV23lmAAAA:8 a=XaNVvuSEPGLJp05tYRQA:9 From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Sun, 3 Jul 2022 02:31:52 +0200 Message-Id: <20220703003152.17850-6-michael@niedermayer.cc> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220703003152.17850-1-michael@niedermayer.cc> References: <20220703003152.17850-1-michael@niedermayer.cc> X-CMAE-Envelope: MS4wfCQEsZ5a8VtQvwapmw5JJ4Ag86FatiBz9LnegRqelJ7ux92YcBN1Df2AnkjdlhOegm6PXMkhXhYegVniNI2iEXNY5amHzRN3K3F1p7DdDG3TaV/dDfvo r3vw1rgcJNsTLqiBfwfgyqkSg1pjsnFRf1g2P8CkyxINUA1KWbpC3cEVo0AV89dCT1fbul6coppV5A== Subject: [FFmpeg-devel] [PATCH 6/6] tools/target_dec_fuzzer: Adjust threshold for LOCO 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: l3GNs8g6BEf3 Fixes: Timeout Fixes: 48584/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LOCO_fuzzer-5741269015461888 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 4dfa6c6ae1..b480f59808 100644 --- a/tools/target_dec_fuzzer.c +++ b/tools/target_dec_fuzzer.c @@ -237,6 +237,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { case AV_CODEC_ID_INTERPLAY_ACM: maxsamples /= 16384; break; case AV_CODEC_ID_JPEG2000: maxpixels /= 16; break; case AV_CODEC_ID_LAGARITH: maxpixels /= 1024; break; + case AV_CODEC_ID_LOCO: maxpixels /= 1024; break; case AV_CODEC_ID_VORBIS: maxsamples /= 1024; break; case AV_CODEC_ID_LSCR: maxpixels /= 16; break; case AV_CODEC_ID_MOTIONPIXELS:maxpixels /= 256; break;