On Thu, 11 Jun 2026 10:48:30 +0900
Michael Paquier <michael(at)paquier(dot)xyz> wrote:
> What do you think? That also deserves a backpatch to me, even if it
> is less worse than the xml2 crash you have reported.
>
> I have grouped this fix with your patch in the attached. Both still
> need some tests. Each fix deserves its own commit, that's just a
> quick FYI version.
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.
--
Andrey Chernyy