pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: tgl@postgresql.org
To: pgsql-committers@postgresql.org
Subject: pgsql: Ensure xmlFree(NULL) is a no-op instead of a core dump.
Date: Wed, 10 Jun 2009 03:44:42 +0000 (UTC)
Message-ID: <20090610034442.58623753336@cvs.postgresql.org> (raw)

Log Message:
-----------
Ensure xmlFree(NULL) is a no-op instead of a core dump.  Per report from
Sergey Burladyan, there are at least some dank corners of libxml2 that
assume this behavior, even though their published documentation suggests
they shouldn't.

This is only really a live problem in 8.3, but the code is still there
for possible debugging use in HEAD, so patch both branches.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        xml.c (r1.68.2.9 -> r1.68.2.10)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/xml.c?r1=1.68.2.9&r2=1.68.2...)




view thread (3+ messages)  latest in thread

Message-ID: <20090610034442.58623753336@cvs.postgresql.org>
Permalink:  ../20090610034442.58623753336@cvs.postgresql.org/
Also on:    postgresql.org/message-id/20090610034442.58623753336@cvs.postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@postgresql.org
  Subject: Re: pgsql: Ensure xmlFree(NULL) is a no-op instead of a core dump.
  In-Reply-To: <20090610034442.58623753336@cvs.postgresql.org>

* 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