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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Alexander Lakhin <exclusion(at)gmail(dot)com>
Cc: cca5507 <cca5507(at)qq(dot)com>, Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs <pgsql-bugs(at)lists(dot)postgresql(dot)org>, maralist86 <maralist86(at)mail(dot)ru>
Subject: Re: BUG #18943: Return value of a function 'xmlBufferCreate' isdereferenced at xpath.c:177 without checking for NUL
Date: 2026-03-13 07:12:28
Message-ID: abO43PS5q6NGSGRq@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message cca5507 2026-03-13 07:20:49 Re: Two issues with REFRESH MATERIALIZED VIEW CONCURRENTLY
Previous Message PG Bug reporting form 2026-03-13 03:14:26 BUG #19433: json_object_agg_unique Crashes When Used as Window Function