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: cca5507 <cca5507(at)qq(dot)com>
Cc: 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-09 22:10:13
Message-ID: aa9FRUsCenN8Vfum@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Mar 09, 2026 at 04:31:37PM +0900, Michael Paquier wrote:
> You are right, this needs to consider the pointer variable as
> volatile, as done in your patch, and not treat as volatile what is
> pointed at. This comes from 2e947217474c, as of HEAD. I'll take care
> of it later. The same business has been fixed in xml2 as of
> 93001888d85c.

Fixed as of 6307b096e259.
--
Michael

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message jiye 2026-03-10 10:17:44 FDW connection drops with "Connection timed out" during async append query due to TCP receive buffer filling up
Previous Message Rafia Sabih 2026-03-09 13:57:07 Re: Two issues with REFRESH MATERIALIZED VIEW CONCURRENTLY