From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix crash with old libxml2
Date: Fri, 8 Mar 2019 19:21:48 -0300
Message-ID: <20190308222148.GA26971@alvherre.pgsql> (raw)
In-Reply-To: <E1h2Nlb-0006K7-0v@gemulon.postgresql.org>
On 2019-Mar-08, Alvaro Herrera wrote:
> Fix crash with old libxml2
>
> Certain libxml2 versions (such as the 2.7.6 commonly seen in older
> distributions, but apparently only on x86_64) contain a bug that causes
> xmlCopyNode, when called on a XML_DOCUMENT_NODE, to return a node that
> xmlFreeNode crashes on. Arrange to call xmlFreeDoc instead of
> xmlFreeNode for those nodes.
I forgot to note in the commit message that the crash was introduced
yesterday with commit 251cf2e27bec98274e8bb002608680bdc211319e, "Fix
minor deficiencies in XMLTABLE, xpath(), xmlexists()".
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: alvherre@2ndquadrant.com
Subject: Re: pgsql: Fix crash with old libxml2
In-Reply-To: <20190308222148.GA26971@alvherre.pgsql>
References: <E1h2Nlb-0006K7-0v@gemulon.postgresql.org> <20190308222148.GA26971@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox