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 3508050093 for ; Mon, 7 Jul 2025 14:58:45 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 5F6EF69162B; Mon, 7 Jul 2025 17:58:41 +0300 (EEST) Received: from relay15.mail.gandi.net (relay15.mail.gandi.net [217.70.178.235]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 322AB6907D8 for ; Mon, 7 Jul 2025 17:58:35 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 8C9A04420B for ; Mon, 7 Jul 2025 14:58:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1751900314; 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=nVNFGUrhn8tvx3Dtvhqw/jZzR9yjl6oCHlOajlhX2HI=; b=BYEniDa9xQ9m/CDHleNwnvLjgKVFPuLbH4yLxq253M+L5iBMIA5K+Jlgs4gizOOfa17PLg knRJFSKfEaqS+bfDYyYXtqm2eUIwRbkR3IbnzF0pMS0znrE9U3KQX7X+jUQDUOlJDq3szD PGQdLIxsXYmuw2hg7Q8uYqObhZHGQOk1vYTlS1JLrfaJ+P0bPXFIixO92EUuC40N8oC4Jt 7p4P32TsR6Jvw2WZPaClUS6gB8QJQvTEyZ2NGRjUFZtTOGLPN4ycoq2wGhnSIAO08qpUBc 2KTofh2HqK8DZcL83HdXTWD8V8ZaEVX+Vq7rJ30xFCc8xYt7v8PzKkByvzgfKg== Date: Mon, 7 Jul 2025 16:58:33 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250707145833.GG29660@pb2> References: <20250707103102.3477457-1-michael@niedermayer.cc> <20250707103102.3477457-2-michael@niedermayer.cc> MIME-Version: 1.0 In-Reply-To: X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdefvddutdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdludehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepieegkedtjeduffejhfetgeejtdegteetgfegtdfhjefgvefhteegkeejtddvhfevnecukfhppeeguddrieeirdeiiedrvddvjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeguddrieeirdeiiedrvddvjedphhgvlhhopehlohgtrghlhhhoshhtpdhmrghilhhfrhhomhepmhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrgh Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/concatdec: Check recursion depth 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="===============7143661379759862388==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============7143661379759862388== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="W67bzEehpTvvkHHj" Content-Disposition: inline --W67bzEehpTvvkHHj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 07, 2025 at 01:05:35PM +0200, Nicolas George wrote: > Michael Niedermayer (HE12025-07-07): > > This variant is easy backportable but is concatdec specific > >=20 > > Fixes: self_ref.ffconcat > > Reported-by: Yuhao Jiang > > Signed-off-by: Michael Niedermayer > > --- > > libavformat/concatdec.c | 11 +++++++++++ > > 1 file changed, 11 insertions(+) >=20 > What use case is it meant to fix? not overflowing the stack from unlimited recursion (on some platforms it will stop by exhausting file ids first but we should not rely on that) thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Some Animals are More Equal Than Others. - George Orwell's book Animal Farm --W67bzEehpTvvkHHj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaGvglgAKCRBhHseHBAsP q9W2AJ4gCuAVMdz8YPeX3Mnfdh4p2L0iegCgk7qKp1mizlI3Cij9vd4BLqVgBtQ= =OOMS -----END PGP SIGNATURE----- --W67bzEehpTvvkHHj-- --===============7143661379759862388== 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". --===============7143661379759862388==--