Re: BUG #18943: Return value of a function 'xmlBufferCreate' isdereferenced at xpath.c:177 without checking for NUL - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #18943: Return value of a function 'xmlBufferCreate' isdereferenced at xpath.c:177 without checking for NUL
Date
Msg-id abO43PS5q6NGSGRq@paquier.xyz
Whole thread Raw
In response to Re: BUG #18943: Return value of a function 'xmlBufferCreate' isdereferenced at xpath.c:177 without checking for NUL  (Michael Paquier <michael@paquier.xyz>)
List pgsql-bugs
On Thu, Mar 12, 2026 at 03:46:57PM +0900, Michael Paquier wrote:
> I am not sure if this is worth backpatching, so let's just use
> something like the attached on HEAD.  This result cannot be NULL,
> historically it has always been an empty string.

Looking at the history of the tree, things like 46ab07ffda9d were
mentioned as worth a backpatch, so applied down to v14 for this one as
well.
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #19433: json_object_agg_unique Crashes When Used as Window Function
Next
From: "cca5507"
Date:
Subject: Re: Two issues with REFRESH MATERIALIZED VIEW CONCURRENTLY