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

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: maralist86@mail.ru, pgsql-bugs@lists.postgresql.org
Date: 2025-06-03T04:18:13Z
Lists: pgsql-bugs
On Mon, Jun 02, 2025 at 02:21:24PM +0900, Michael Paquier wrote:
> With all that, I get the attached.
> 
> Thoughts or comments?

I'll try to have a second look at this patch in a couple of weeks.
For now, I have added it to the next comment fest:
https://commitfest.postgresql.org/patch/5794/

If somebody would like to chime in, feel free.
--
Michael

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. xml2: Fix failure with xslt_process() under -fsanitize=undefined

  2. Fix misuse of "volatile" in xml.c

  3. xml2: Improve error handling of libxml2 calls

  4. Improve error handling of libxml2 calls in xml.c