Re: [PATCH] Fix libxml leaks in contrib/xml2 XPath functions

From: Andrey Chernyy <andrey(dot)cherny(at)tantorlabs(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] Fix libxml leaks in contrib/xml2 XPath functions
Date: 2026-06-02 22:29:27
Message-ID: 20260603012745.14262e5b@andrnote
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thanks, Michael.

Agreed about xmlXPathCompiledEval(); without a reliable error indication
from libxml2, xml2 cannot distinguish a valid NULL result from an
internal failure locally.

The v2-0001..v2-0004 merge sounds good to me.

--
Andrey Chernyy

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2026-06-02 22:32:43 Re: Wrong unsafe-flag test in check_output_expressions()
Previous Message Michael Paquier 2026-06-02 22:23:16 Re: injection_points: Switch wait/wakeup to use atomics rather than latches