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 AE8E44C417 for ; Fri, 9 May 2025 09:26:33 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4806168C455; Fri, 9 May 2025 12:26:29 +0300 (EEST) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 12ACB68C154 for ; Fri, 9 May 2025 12:26:23 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 4BE7D43AD5 for ; Fri, 9 May 2025 09:26:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1746782782; 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=VWQaoooVvEZEc/fGSsqorptJkJ7dTtY68HUSOnOzpbA=; b=HIghIyzP73BWhZDkm/xHjfwpqWqg0BdtD92bajg1GyWN2kC8MNdwIiE890jg0xXFiawt0K tf48AbSFSDe1PEXaiisUYlefa57TcrA1EHxI09ZdHmRpGbj5F5WhLny46vHRXwyB9jKacv HRxWEjhdwLUsgEm7WJHc0RpM56HDzHJGDqJ6E65QQ/EKIp9slIZUQOjWMGbBbFBGkqmV+z VN4r8HfnHT05as0VrKCVXPCmJ1zP9GucLi2HUIA7FG7GgPLn27aojetTsxDX54lPEESQqC lI4Zfw6H9vkprTIs0uYpB1HUemFRu8GRgqxRUlsjSzmOVx8YMV+Vohaij4UVMQ== Date: Fri, 9 May 2025 11:26:21 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250509092621.GS29660@pb2> References: <20250508215738.3582069-1-michael@niedermayer.cc> <20250508215738.3582069-7-michael@niedermayer.cc> <83a58e58-7e48-4e59-8bb5-e1af9481f187@gmail.com> MIME-Version: 1.0 In-Reply-To: <83a58e58-7e48-4e59-8bb5-e1af9481f187@gmail.com> X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvledvvdehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdduhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeetgfegvdffieeuffevhfeitdfgfeejudekfeegteegveegjeegkedvveejleevkeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeeguddrieeirdeijedruddufeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeguddrieeirdeijedruddufedphhgvlhhopehlohgtrghlhhhoshhtpdhmrghilhhfrhhomhepmhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrgh X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 7/7] avcodec/hevc/ps: Fix dependant layer id check 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="===============2774514590610985431==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============2774514590610985431== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2/Dpz40iF3jpiHxF" Content-Disposition: inline --2/Dpz40iF3jpiHxF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 08, 2025 at 07:10:38PM -0300, James Almer wrote: > On 5/8/2025 6:57 PM, Michael Niedermayer wrote: > > Fixes: shift exponent 49 is too large for 32-bit type 'int' > > Fixes: 398060145/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC= _fuzzer-5023082406543360 > >=20 > > Found-by: continuous fuzzing process https://github.com/google/oss-fuzz= /tree/master/projects/ffmpeg > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/hevc/ps.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > >=20 > > diff --git a/libavcodec/hevc/ps.c b/libavcodec/hevc/ps.c > > index 24f4218931d..4b021ea9c1f 100644 > > --- a/libavcodec/hevc/ps.c > > +++ b/libavcodec/hevc/ps.c > > @@ -652,8 +652,8 @@ static int decode_vps_ext(GetBitContext *gb, AVCode= cContext *avctx, HEVCVPS *vps > > /* Consequence of established layer dependencies */ > > if (layer1_id_included && > > - layer1_id_included !=3D ((1 << vps->layer_id_in_nuh[0]) | > > - (1 << vps->layer_id_in_nuh[1]))) { > > + layer1_id_included !=3D ((1ULL << vps->layer_id_in_nuh[0]) | > > + (1ULL << vps->layer_id_in_nuh[1]))) { >=20 > LGTM. will apply thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB What is kyc? Its a tool that makes you give out your real ID, while crimina= ls give out a forged ID card. --2/Dpz40iF3jpiHxF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaB3KPQAKCRBhHseHBAsP q7CdAJ98kLT3pdcHcJJlHtLqwYoZAMr6/ACfYgu2o/vgGme/hmhztmKfEpksFEs= =zJtz -----END PGP SIGNATURE----- --2/Dpz40iF3jpiHxF-- --===============2774514590610985431== 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". --===============2774514590610985431==--