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 ESMTPS id DF4BE4C6BF for ; Fri, 9 May 2025 09:25:48 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4813768C409; Fri, 9 May 2025 12:25:46 +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 7F73168C3C2 for ; Fri, 9 May 2025 12:25:45 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 9203E43422 for ; Fri, 9 May 2025 09:25:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1746782744; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bbzEo1jhmAzGBCELwA13++Vtbs8Shwic/cS1mgYcW/4=; b=lrz5mcuSIhksEZkY1Z+X6kwxQRgjmt7nkulLxSvBp7Wz7ULRS9ofH/yPQSjEPjWpqBC2Ru 3BqRrLv7eXmhifPPAKzXR52EThcfcTlcdIIfyitCKpcCGdf7Y1J6SM2/fBZba5iBwWNeYL hB1jXCIoSuKYgZ9jEapn5AiezvmE/SGtPPNFjVPx2eG3/XKHA7eVOkC4wOxXbxqPUI6hLC 6rCq6BO6zEzOEvWVuzszjwKV1c0nSMQoy3XUGq4V8fRuneicJn8o+rDxFmgoj5HfFbJDvX NjXiDBXDjgpukBGYfFfDmQkzBpjHNoC54w3P8Xyt2V2NAQvFz2yEW4CZ6tf4AQ== Date: Fri, 9 May 2025 11:25:43 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250509092543.GR29660@pb2> References: <20250508215738.3582069-1-michael@niedermayer.cc> <20250508215738.3582069-6-michael@niedermayer.cc> MIME-Version: 1.0 In-Reply-To: X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvledvvdeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdduhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeetgfegvdffieeuffevhfeitdfgfeejudekfeegteegveegjeegkedvveejleevkeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeeguddrieeirdeijedruddufeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeguddrieeirdeijedruddufedphhgvlhhopehlohgtrghlhhhoshhtpdhmrghilhhfrhhomhepmhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrgh X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 6/7] avcodec/rv60dec: inter also fails with qp >= 32 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="===============9007720523756656244==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============9007720523756656244== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OrT4iOlIQZp3kw4S" Content-Disposition: inline --OrT4iOlIQZp3kw4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 09, 2025 at 07:07:51PM +1000, Peter Ross wrote: > On Thu, May 08, 2025 at 11:57:37PM +0200, Michael Niedermayer wrote: > > Fixes: out of array read in decode_cu_16x16() > > Fixes: 398049430/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RV60= _fuzzer-5525836849807360 > >=20 > > Found-by: continuous fuzzing process https://github.com/google/oss-fuzz= /tree/master/projects/ffmpeg > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/rv60dec.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > >=20 > > diff --git a/libavcodec/rv60dec.c b/libavcodec/rv60dec.c > > index 24981015a94..d704ae512c2 100644 > > --- a/libavcodec/rv60dec.c > > +++ b/libavcodec/rv60dec.c > > @@ -1791,7 +1791,7 @@ static int decode_cu_r(RV60Context * s, AVFrame *= frame, ThreadContext * thread, > > ttype =3D cu.pu_type =3D=3D PU_FULL ? TRANSFORM_8X8 : TRANSFOR= M_4X4; > > =20 > > is_intra =3D cu.cu_type =3D=3D CU_INTRA; > > - if (is_intra && qp >=3D 32) > > + if (qp >=3D 32) > > return AVERROR_INVALIDDATA; > > cu_pos =3D ((xpos & 63) >> 3) + ((ypos & 63) >> 3) * 8; >=20 > please apply will apply thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB No great genius has ever existed without some touch of madness. -- Aristotle --OrT4iOlIQZp3kw4S Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaB3KFwAKCRBhHseHBAsP q41yAJ9JlwcwXIxFRBMqz7aFL8L373bgcwCdF+MHPqqmN/nuUzcfikKcQUb3PGE= =C81A -----END PGP SIGNATURE----- --OrT4iOlIQZp3kw4S-- --===============9007720523756656244== 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". --===============9007720523756656244==--