Re: [PATCH] contrib/xml2: backend crash in xpath_nodeset() on the namespace axis

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Andrey Chernyy <andrey(dot)cherny(at)tantorlabs(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] contrib/xml2: backend crash in xpath_nodeset() on the namespace axis
Date: 2026-06-12 01:27:23
Message-ID: aitge2Hvjio_RgDp@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, Jun 12, 2026 at 01:59:06AM +0300, Andrey Chernyy wrote:
> Thanks Michael, and thanks for adding the tests and back-patching! The
> grouped patch looks good to me - applying the same XML_NAMESPACE_DECL
> fallback to xmlXPathCastNodeToString() in core xml.c makes sense too. I
> had a regression test in progress, but glad it's already covered.

Both issues are now fixed and backpatched, as of 8bf257aebac1 and
9d33a5a804db.
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2026-06-12 01:32:10 Re: [BUG] false positive in bt_index_check in case of short 4B varlena datum
Previous Message Andrey Chernyy 2026-06-11 22:59:06 Re: [PATCH] contrib/xml2: backend crash in xpath_nodeset() on the namespace axis