Re: Memory leak in libxml2 (was Re: [PATCH] Add pretty-printed XML output option) - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Memory leak in libxml2 (was Re: [PATCH] Add pretty-printed XML output option)
Date
Msg-id 07F05CE1-1D11-4471-8CB2-5CE3CF5A4915@yesql.se
Whole thread Raw
In response to Memory leak in libxml2 (was Re: [PATCH] Add pretty-printed XML output option)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> On 15 Mar 2023, at 22:38, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> After a bit of further testing: the leak is present in libxml2 2.9.7
> which is what I have on this RHEL8 box, but it seems not to occur
> in libxml2 2.10.3 (tested on Fedora 37, and I verified that Fedora
> isn't carrying any relevant local patch).
>
> So maybe it's worth working around that, or maybe it isn't.

2.9.7 is from November 2017 and 2.10.3 is from October 2022, so depending on
when in that timespan the issue was fixed it might be in a release which will
be with us for quite some time.  The lack of reports (that I was able to find)
indicate that it might be rare in production though?

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Melanie Plageman
Date:
Subject: Re: Speed-up shared buffers prewarming
Next
From: Jeff Davis
Date:
Subject: Re: ICU locale validation / canonicalization