Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sp9Dj-00GzDx-D8 for pgsql-bugs@arkaria.postgresql.org; Fri, 13 Sep 2024 16:32:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sp9Dj-006scj-2K for pgsql-bugs@arkaria.postgresql.org; Fri, 13 Sep 2024 16:32:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sp9Di-006saP-Pt for pgsql-bugs@lists.postgresql.org; Fri, 13 Sep 2024 16:32:30 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sp9Df-000zah-RQ for pgsql-bugs@lists.postgresql.org; Fri, 13 Sep 2024 16:32:29 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 48DGWNGv104997; Fri, 13 Sep 2024 12:32:23 -0400 From: Tom Lane To: Erik Wienhold cc: fuboat@outlook.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18617: PostgreSQL Server Subprocess Crashes by the XPATH Function Expression with Crafted Arguments In-reply-to: <08a0ba98-2dec-4773-8bfd-9eaced528372@ewie.name> References: <18617-1cee4d2ed1f4e7ae@postgresql.org> <08a0ba98-2dec-4773-8bfd-9eaced528372@ewie.name> Comments: In-reply-to Erik Wienhold message dated "Fri, 13 Sep 2024 18:17:43 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <104995.1726245143.1@sss.pgh.pa.us> Date: Fri, 13 Sep 2024 12:32:23 -0400 Message-ID: <104996.1726245143@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Erik Wienhold writes: > On 2024-09-13 14:31 +0200, PG Bug reporting form wrote: >> SELECT XPATH(REPEAT('(', 100000), ''); > This looks a lot like https://gitlab.gnome.org/GNOME/libxml2/-/issues/137 Interesting. > What is your libxml2 version? It crashes with all the libxml2 versions I have at hand, the newest being 2.13.3 from MacPorts --- which seems to be the latest per https://download.gnome.org/sources/libxml2/ I wonder what became of the alleged fix. regards, tom lane