From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 9FC1D42454 for ; Wed, 20 Jul 2022 14:30:23 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 386B368B630; Wed, 20 Jul 2022 17:30:22 +0300 (EEST) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 08A8468B5F5 for ; Wed, 20 Jul 2022 17:30:15 +0300 (EEST) Received: (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id 1BC611BF211 for ; Wed, 20 Jul 2022 14:30:14 +0000 (UTC) Date: Wed, 20 Jul 2022 16:30:13 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20220720143013.GA2088045@pb2> References: <20220719113453.23169-1-michael@niedermayer.cc> <20220719113453.23169-5-michael@niedermayer.cc> MIME-Version: 1.0 In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH 5/6] avcodec/ffv1dec: consider run increase in minimal golomb frame size 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 Content-Type: multipart/mixed; boundary="===============8327002925960999516==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============8327002925960999516== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lYjFa3qL1bvncypl" Content-Disposition: inline --lYjFa3qL1bvncypl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 19, 2022 at 08:37:38AM -0300, James Almer wrote: >=20 >=20 > On 7/19/2022 8:34 AM, Michael Niedermayer wrote: > > Fixes: Timeout > > Fixes: 49160/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFV1_fuz= zer-5672826144686080 > >=20 > > Found-by: continuous fuzzing process https://github.com/google/oss-fuzz= /tree/master/projects/ffmpeg > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/ffv1dec.c | 6 +++++- > > 1 file changed, 5 insertions(+), 1 deletion(-) > >=20 > > diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c > > index 01ddcaa512..9bdac0be4e 100644 > > --- a/libavcodec/ffv1dec.c > > +++ b/libavcodec/ffv1dec.c > > @@ -883,7 +883,11 @@ static int decode_frame(AVCodecContext *avctx, AVF= rame *rframe, > > if (buf_size < avctx->width * avctx->height / (128*8)) > > return AVERROR_INVALIDDATA; > > } else { > > - if (buf_size < avctx->height / 8) > > + int i; >=20 > for (int i... will apply with that change thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Take away the freedom of one citizen and you will be jailed, take away the freedom of all citizens and you will be congratulated by your peers in Parliament. --lYjFa3qL1bvncypl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCYtgRdQAKCRBhHseHBAsP qwaYAJ9KiFwnOIvELrgi4+tpQ+raZQc6HwCgmXFoKmqFztEs+pZu0hfcUvaDnXM= =pWFN -----END PGP SIGNATURE----- --lYjFa3qL1bvncypl-- --===============8327002925960999516== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --===============8327002925960999516==--