From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | Re: pgsql: Fix crash with old libxml2 |
Date: | 2019-03-08 22:21:48 |
Message-ID: | 20190308222148.GA26971@alvherre.pgsql |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2019-03-08 23:52:15 | pgsql: Tighten use of OpenTransientFile and CloseTransientFile |
Previous Message | Alvaro Herrera | 2019-03-08 22:14:59 | pgsql: Fix crash with old libxml2 |