From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 41D254F7CB for ; Mon, 23 Jun 2025 12:32:38 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 9CBFA68E09F; Mon, 23 Jun 2025 15:32:34 +0300 (EEST) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 0584A68E098 for ; Mon, 23 Jun 2025 15:32:27 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 6ED3F43A26 for ; Mon, 23 Jun 2025 12:32:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1750681947; 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=EXFAVNup1or5GDftv8qiARoX2TZq3QXBHlQj1tcmjBg=; b=T3VL4A5M4xuvn8MqL/hnFw0NwbqJ08zvZApfn4i+Gr0aoRIq8Dz8i+4IKRL6jpo4P0FGb+ jEhg76M+AYH8NhvJ4MSxXyIBQp39vGU54BBkOwEEPcecMceg4XUTVWzkYIrhD5RTmCMRrB fJS5pFH9zxJBFUIIWVmA7NO0W3q+zUR3oJSN4IWy2btuHzXQLQwuFIfO6Z/auCEq8yZlBE p/m8NvoLfpc3wO3xobkaNxC8NIyXQajmMlFr40AMrYVsyak/j7kk9+9GE8WyNM6zuEfwhX JVQIgWg7doIXAaYe0GAxK6iZcJaO6ORSM0qJxjLjEHEYHlB4eBEuemxezHaZ0w== Date: Mon, 23 Jun 2025 14:32:26 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250623123226.GG29660@pb2> References: <20250617011725.4109593-1-michael@niedermayer.cc> MIME-Version: 1.0 In-Reply-To: <20250617011725.4109593-1-michael@niedermayer.cc> X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddvgddujedtfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdludehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnheptefggedvffeiueffvefhiedtgfefjedukeefgeetgeevgeejgeekvdevjeelveeknecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 1/3] avcodec/osq: Fix signed integer overflow in update_stats() 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="===============2131422013830775093==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============2131422013830775093== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XvrkqTDcWQghrJJ4" Content-Disposition: inline --XvrkqTDcWQghrJJ4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 17, 2025 at 03:17:23AM +0200, Michael Niedermayer wrote: > Fixes: negation of -2147483648 cannot be represented in type 'int'; cast = to an unsigned type to negate this value to itself > Fixes: 410109093/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_OSQ_fu= zzer-6550900028276736 >=20 > Note, none of the available osq files uses update_stats(), this change ma= y fix or break > files using coding_mode =3D=3D 2. The code prior looks wrong though >=20 > Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/t= ree/master/projects/ffmpeg > Signed-off-by: Michael Niedermayer > --- > libavcodec/osq.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) will apply patchset [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Everything should be made as simple as possible, but not simpler. -- Albert Einstein --XvrkqTDcWQghrJJ4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaFlJWgAKCRBhHseHBAsP qwEPAJ4ml2I94b8G81V5wIXATT6j6h7RQwCcDpuOGtaUhu316PvIPhgEbbINkUQ= =d2yj -----END PGP SIGNATURE----- --XvrkqTDcWQghrJJ4-- --===============2131422013830775093== 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". --===============2131422013830775093==--