Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g8Qef-00031s-Af for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Oct 2018 14:00:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g8Qed-0003Ta-O1 for pgsql-bugs@arkaria.postgresql.org; Fri, 05 Oct 2018 14:00:31 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g8Qed-0003TB-E5 for pgsql-bugs@lists.postgresql.org; Fri, 05 Oct 2018 14:00:31 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g8QeS-0006NX-A9 for pgsql-bugs@lists.postgresql.org; Fri, 05 Oct 2018 14:00:29 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w95E0I2N004406; Fri, 5 Oct 2018 10:00:18 -0400 From: Tom Lane To: Andrew Gierth cc: Pavel Stehule , Sergey Mirvoda , Andrey Borodin , Andrew Borodin , Michael Paquier , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15420: Server crash. Segmentation fault when parsing xml file In-reply-to: <87tvm0bjpt.fsf@news-spur.riddles.org.uk> References: <15420-6648d2ed070c05d4@postgresql.org> <20181004091103.GC1256@paquier.xyz> <0FD7884D-E9D9-41DF-AA05-15E7420F996A@yandex-team.ru> <87tvm1cbkk.fsf@news-spur.riddles.org.uk> <87pnwpc7wi.fsf@news-spur.riddles.org.uk> <87y3bcbkcm.fsf@news-spur.riddles.org.uk> <87tvm0bjpt.fsf@news-spur.riddles.org.uk> Comments: In-reply-to Andrew Gierth message dated "Fri, 05 Oct 2018 14:38:52 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4404.1538748018.1@sss.pgh.pa.us> Date: Fri, 05 Oct 2018 10:00:18 -0400 Message-ID: <4405.1538748018@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andrew Gierth writes: > Interestingly, the FreeBSD package build of PG now disables XML by > default on account of libxml2's very poor security record. It's hard to argue with their choice. > We need a better XML library :-( Is there one anywhere? (I think writing our own is right out.) Should we be officially deprecating XML facilities and telling people to head towards JSON? There at least we have control of the quality of implementation ... regards, tom lane