Re: contrib/xml2 pfree bug - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: contrib/xml2 pfree bug
Date
Msg-id 4A6A3612.1090403@dunslane.net
Whole thread Raw
In response to Re: contrib/xml2 pfree bug  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>   
>> Didn't we just clean up a mess in our XML handling to do with memory 
>> handlers? It looks like contrib/xml2 might have similar problems.
>>     
>
> Yeah, it's using xmlMemSetup(), and being even less careful than the
> core code was :-(.
>
> Do we feel like fixing it, or is it time to rip it out?
>
>             
>   

Well, we don't have an XSLT processor in core code. If we get one, we 
should rip this module out from HEAD. But this is a bug in released code 
- we don't want to rip that out, right? It works OK in some 
circumstances, but crashing it was trivially easy.

cheers

andrew


pgsql-hackers by date:

Previous
From: KaiGai Kohei
Date:
Subject: Re: SE-PostgreSQL Specifications
Next
From: Stephen Frost
Date:
Subject: Re: SE-PostgreSQL Specifications