diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-03-08 19:13:25 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-03-08 19:13:25 -0300 |
commit | 2e616dee9e601d36462dc4cc48eb0b6a1ff20051 (patch) | |
tree | 3995a7ebfb094370d62a0bb908ddb71391a04c8b /src/backend/utils/adt/pgstatfuncs.c | |
parent | 1b76168da7787505fbe506ef3ab74e9a14b4b7fb (diff) | |
download | postgresql-2e616dee9e601d36462dc4cc48eb0b6a1ff20051.tar.gz postgresql-2e616dee9e601d36462dc4cc48eb0b6a1ff20051.zip |
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.
Per buildfarm members lapwing and grison.
Author: Pavel Stehule, light editing by Álvaro.
Discussion: https://postgr.es/m/20190308024436.GA2374@alvherre.pgsql
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions