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 3AD584C417 for ; Fri, 9 May 2025 09:08:10 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3F4DE68C30B; Fri, 9 May 2025 12:08:07 +0300 (EEST) Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 96F7168A59A for ; Fri, 9 May 2025 12:08:00 +0300 (EEST) Received: from 28828826f30850df2d2bb146bd869914 ([1.145.199.160]) (authenticated (0 bits)) by mx.sdf.org (8.18.1/8.14.3) with ESMTPSA id 54997qu4015272 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for ; Fri, 9 May 2025 09:07:58 GMT Date: Fri, 9 May 2025 19:07:51 +1000 From: Peter Ross To: FFmpeg development discussions and patches Message-ID: Mail-Followup-To: FFmpeg development discussions and patches References: <20250508215738.3582069-1-michael@niedermayer.cc> <20250508215738.3582069-6-michael@niedermayer.cc> MIME-Version: 1.0 In-Reply-To: <20250508215738.3582069-6-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="===============4886273874522760541==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============4886273874522760541== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/r+gCycf9RFJpnbL" Content-Disposition: inline --/r+gCycf9RFJpnbL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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_f= uzzer-5525836849807360 >=20 > Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/t= ree/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 * f= rame, ThreadContext * thread, > ttype =3D cu.pu_type =3D=3D PU_FULL ? TRANSFORM_8X8 : TRANSFORM_= 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; please apply -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B) --/r+gCycf9RFJpnbL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSpB+AvpuUM0jTNINJnYHnFrEDdawUCaB3F5wAKCRBnYHnFrEDd ay9sAKCrc0jsviLSCudox0S92M50yIoC5gCgzgf1RzE6qGE+pwohSuvCW5iJ13w= =bEl9 -----END PGP SIGNATURE----- --/r+gCycf9RFJpnbL-- --===============4886273874522760541== 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". --===============4886273874522760541==--