pgsql: Fix crash in bytea-to-XML mapping when the source value is

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix crash in bytea-to-XML mapping when the source value is
Date: 2008-10-09 15:49:10
Message-ID: 20081009154910.D30627545A4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix crash in bytea-to-XML mapping when the source value is toasted.
Report and fix by Michael McMaster. Some minor code beautification by me,
also avoid memory leaks in the special-case paths.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
pgsql/src/backend/utils/adt:
xml.c (r1.68.2.4 -> r1.68.2.5)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/xml.c?r1=1.68.2.4&r2=1.68.2.5)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-10-09 16:35:07 pgsql: Fix overly tense optimization of PLpgSQL_func_hashkey: we must
Previous Message Tom Lane 2008-10-09 15:49:04 pgsql: Fix crash in bytea-to-XML mapping when the source value is