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 09D0B4C7A2 for ; Tue, 5 Aug 2025 11:12:46 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id A581A68C1A0; Tue, 5 Aug 2025 14:12:43 +0300 (EEST) Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 9B29B687A89 for ; Tue, 5 Aug 2025 14:12:36 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 0F81C42E77 for ; Tue, 5 Aug 2025 11:12:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1754392355; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=nPzwR3Q2RVsobu9GQnQgZHB/d8Q8vJEBMJp/hQelrRs=; b=cPyt0j+6Rnhj60rqCuWnF/LZGYVt75uPnksSR4t4B0m1s05NPxwp9ZO1CBQoKHNfenECJ2 3WUbV3B3neI4OYFRHpT8N8g4rSVJwb9zcLb2OCEOZD7TJrQiIs+cen1DxHFipbY31ZHx43 oyTzN0gZx2kfBrdWtmiZUWybwvfHOgefsuLWHdXwvd27CEuJuXKy90WVDPHaystGvYjOEy l2KSZ4R7csmAZeuXLvt+lcZw84oWmRneSjxfiHIPlsPuMMSD126ohJjFBbFxSH69JgmYKx 32RL+TWhueLt9ZPxcm21IAYk7IxUBM+lQopAEuCU8SRB8IBJaEpi3NazCG0dYQ== Date: Tue, 5 Aug 2025 13:12:32 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250805111232.GU29660@pb2> MIME-Version: 1.0 X-GND-State: clean X-GND-Score: -70 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdduudehtdduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdeftddmnecujfgurhepfffhvffukfggtggusehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeeifeegvefgvdegledugeehlefhgeffvdeggfdtgeevgeduleevieeuleeiteevffenucfkphepgedurdeiiedrieehrddujeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieehrddujeeipdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: [FFmpeg-devel] FFv1 race condition backport 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="===============1883749192819152332==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============1883749192819152332== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5h1a84SQDDjV79V0" Content-Disposition: inline --5h1a84SQDDjV79V0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi everyone If someone wants the FFv1 frame threading race fix backported: its these 2 commits: 8d5efc218245c3f0559f48837b3e63e2932525e0 and bcf08c11710cab5db8eb3d0774e1a9= 3e322fb821 If these are not backported, our choice is to leave the bug or to disable frame threading in favor of slice threading ATM all release branches prior to 7.1 disable the code because of this bug (we could also make slice threading the default and leave frame threading as an option, that would probably need a check for FFv1 outside the ffv1 c= odec) i have a testcase that reliably triggers the bug and hits an assertion (if asserts are enabled, i suspect its possible to construct a out of array access for this with enough effort but i have no testcase for that) I have too much on my todo ATM to backport this, especially as simply switching to slice threading (or upgrading to 7.1) fixes it. thx --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The misfortune of the wise is better than the prosperity of the fool. -- Epicurus --5h1a84SQDDjV79V0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaJHnGQAKCRBhHseHBAsP q0XlAJ4n4m8QJYakz6ZqqOYZz6jDQP3engCeKl7ZNCzcLrWzVXcbDlTt1kOJuLQ= =8SNH -----END PGP SIGNATURE----- --5h1a84SQDDjV79V0-- --===============1883749192819152332== 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". --===============1883749192819152332==--