Re: Minor patch to contrib/xml2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John Gray <jgray(at)azuli(dot)co(dot)uk>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Minor patch to contrib/xml2
Date: 2005-01-09 17:42:09
Message-ID: 28105.1105292529@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

John Gray <jgray(at)azuli(dot)co(dot)uk> writes:
> The following patch is small, but given the current point in the cycle I
> fully understand that it may be held for an 8.0.1 or 8.1. I'm sorry that I
> didn't stumble across it sooner...

> It fixes a segfault due to the XML parser not being cleared up as required
> when the xpath_list function is applied to an invalid document.

It's not too late to fix segfaults, especially not in contrib stuff.
Patch applied.

(BTW, please try to ensure that your mailer doesn't munge whitespace in
patches --- I had to do this one by hand because "patch" wouldn't match
it up. Attaching the patch as a separate file may be safest.)

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2005-01-09 22:52:47 re-enable MSVC builds
Previous Message Peter Eisentraut 2005-01-09 17:39:49 Re: Polish translation of pg_config file.