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:04
Message-ID: 20081009154904.B52627545A4@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.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
xml.c (r1.77 -> r1.78)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/xml.c?r1=1.77&r2=1.78)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-10-09 15:49:10 pgsql: Fix crash in bytea-to-XML mapping when the source value is
Previous Message Heikki Linnakangas 2008-10-09 10:34:22 pgsql: Force a checkpoint in CREATE DATABASE before starting to copy the