Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: xpath-crash.patch
Description: text/plain (644 bytes)

In response to

Responses

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group