Re: BUG #3675: Crash on xpath function with 2 parameters

From: Kris Jurka <books(at)ejurka(dot)com>
To: Jeremy Palmer <jpalmer(at)linz(dot)govt(dot)nz>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3675: Crash on xpath function with 2 parameters
Date: 2007-10-13 17:28:55
Message-ID: Pine.BSO.4.64.0710131327480.14083@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sat, 13 Oct 2007, Jeremy Palmer wrote:

> The following bug has been logged online:
>
> Bug reference: 3675
> PostgreSQL version: 8.3b1
> Operating system: WinXP SP2
> Description: Crash on xpath function with 2 parameters
> Details:
>
> The following query crashes the backend:
>
> SELECT xpath('/my:a/text()', '<my:a
> xmlns:my="http://example.com">test</my:a>');
>

This patch avoids the double free of xpathcomp and fixes things for me.

Kris Jurka

Attachment Content-Type Size
xpath-crash.patch text/plain 644 bytes

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2007-10-13 20:50:25 Re: BUG #3675: Crash on xpath function with 2 parameters
Previous Message Rolf de By 2007-10-13 15:58:33 BUG #3676: README.TXT is duff gen