From patchwork Sat Aug 13 21:50:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 37267 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3d0d:b0:8d:a68e:8a0e with SMTP id y13csp528585pzi; Sat, 13 Aug 2022 14:51:45 -0700 (PDT) X-Google-Smtp-Source: AA6agR4T6Tkh9WJfr+QIxfgeqS7DEqZz0NM04Vwc8K22i0nUqnxX4M0RqK6qJTPtYGWVuvAkYHs5 X-Received: by 2002:a17:907:2816:b0:731:5103:baf2 with SMTP id eb22-20020a170907281600b007315103baf2mr6244121ejc.429.1660427505118; Sat, 13 Aug 2022 14:51:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660427505; cv=none; d=google.com; s=arc-20160816; b=SYXgHy+JBpIsdYTHKzvL9YcfJBB9JA8pTuuS6POt0pZ8VJGI7Vo00PEd+48V6RBwub vkUISBNrQle4Jq+C7XAul5Uo3UBT1KWv2wtLWup/dfd241gzD5wTgQXC91gx/PRB7fDR 61g2CT4wo5VNHFxdSrQNFASLz3N+LK2j0BNTMTw7jCmXKtv5E0gJC4gQevklTFb4dE+y 9n/7cdfR1AunYW7K1KiWxp3flOqb0CJulz6H7SH5Hsto0GOtpIpQMYW+aMOI2V+lqlRn yusp9UXR9QC3Nh/dHaZ1yQwe2AEyvlA7M6sBhZkWzDqnY+o/vgkW0avStt5HYtskFo2h iooA== 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=wGIMXMdOnpQaa7bspq/hQxNOnGsc2xeqUyJwL/b02IE=; b=jmd4HnbuAhOHvZg7yFN4Qac19MxJD95CG9OqwxA4ggiLYMh6pJX8F/+IjICBsJZVDB hBHFmINBrV5fmz06byux85g8UaQNDqF+fo2G5a+/DDN42MDst00G/aogpf4cHS3x6un1 ELoYqrFmZGgLxtlPSuWjyjlF8FDdkOeWbmv9UKHQO/MbSwAv0t2QqtiBifllcslg7tmt h5KL+TdVZe22K4trIEgVtOLIzlAfNPRx8Ms9iunwcdHL9/aEkO2bMTZml2pI5+lv97AF mSHfshlctx6pnhgiAfryQZvIStbeUgWue3WJdBKjUtqm0YkImvZ3Yg5lhVRkJjUA4vtB szmg== 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 dm12-20020a170907948c00b00731331597e9si4322784ejc.967.2022.08.13.14.51.44; Sat, 13 Aug 2022 14:51:45 -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 B365168B915; Sun, 14 Aug 2022 00:51:42 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from vie01a-dmta-at01-2.mx.upcmail.net (vie01a-dmta-at01-2.mx.upcmail.net [62.179.121.146]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AA43268B178 for ; Sun, 14 Aug 2022 00:51:36 +0300 (EEST) Received: from [172.31.216.235] (helo=vie01a-pemc-psmtp-pe12.mail.upcmail.net) by vie01a-dmta-at01.mx.upcmail.net with esmtp (Exim 4.92) (envelope-from ) id 1oMz2e-00GfDo-14 for ffmpeg-devel@ffmpeg.org; Sat, 13 Aug 2022 23:51:36 +0200 Received: from ren-mail-psmtp-mg01. ([80.109.253.241]) by vie01a-pemc-psmtp-pe12.mail.upcmail.net with ESMTP id Mz2eoAhCO8s8UMz2eoTSP4; Sat, 13 Aug 2022 23:51:36 +0200 Received: from localhost ([213.47.68.29]) by ren-mail-psmtp-mg01. with ESMTP id Mz1goRcGAOPqFMz1goJ2OM; Sat, 13 Aug 2022 23:50: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=OcX7sjfY c=1 sm=1 tr=0 ts=62f81cac 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: Sat, 13 Aug 2022 23:50:32 +0200 Message-Id: <20220813215035.12996-2-michael@niedermayer.cc> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220813215035.12996-1-michael@niedermayer.cc> References: <20220813215035.12996-1-michael@niedermayer.cc> X-CMAE-Envelope: MS4wfHUq3962Gtq/FAtEH0pADrhTaeZ2xf6ViXpvplopo4vR0vCdeyyiLeWG7bGa9JtOp/hsItwpTomMSY7HhtpQIUueAuGIpboCL67J+HpuKWUJeaK/HmGK YGJ7lLZramncwSfu1K9c36uVsl2L+T958q0fUVIs9DLyujPxXUFh89Oy4TZi93sFgzCz5IhI9NHQgQ== Subject: [FFmpeg-devel] [PATCH 2/5] tools/target_dec_fuzzer: Adjust threshold for VB 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: cSfjkPMbZhFM Fixes: Timeout Fixes: 49372/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VB_fuzzer-5234505337667584 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 861d201a3d..e1b5d2b3c1 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_TQI: maxpixels /= 1024; break; case AV_CODEC_ID_TRUEMOTION2: maxpixels /= 1024; break; case AV_CODEC_ID_TSCC: maxpixels /= 1024; break; + case AV_CODEC_ID_VB: maxpixels /= 1024; break; case AV_CODEC_ID_VC1: maxpixels /= 8192; break; case AV_CODEC_ID_VC1IMAGE: maxpixels /= 8192; break; case AV_CODEC_ID_VMNC: maxpixels /= 8192; break;