Improve error handling of xml2 with libxml2 OOMs

Log in to edit
ID 5794
Title Improve error handling of xml2 with libxml2 OOMs
CI (CFBot) Summary
Stats (from CFBot) Patch version: v4, Patch count: 1, First patch: +294−150, All patches: +294−150
Tags Bugfix
Created 2025-06-03 04:17:23
Last modified 2025-07-01 06:51:31 (1 year ago)
Latest email 2025-07-09 11:28:58 (1 year ago)
Status
PG19-1 (2025-07-01 – 2025-07-31): Committed
Target version 19
Authors Michael Paquier (michael-kun)
Reviewers Jim Jones (jimus) Log in to become reviewer
Committer Michael Paquier (michael-kun)
Links
Emails
BUG #18943: Return value of a function 'xmlBufferCreate' is dereferenced at xpath.c:177 without checking for NUL
First at 2025-06-01 19:05:25 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2025-07-09 11:28:58 by "Robin Haberkorn" <haberkorn at b1-systems.de>
Latest attachment (v4-0001-Improve-error-handling-with-calls-to-libxml2.patch) at 2025-06-08 02:19:29 from Michael Paquier <michael at paquier.xyz>
    Attachment (v4-0001-Improve-error-handling-with-calls-to-libxml2.patch) at 2025-06-08 02:19:29 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (v3-0001-xml2-Fix-error-handling-in-corner-cases.patch) at 2025-06-06 05:54:40 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (v2-0001-xml2-Fix-error-handling-in-corner-cases.patch) at 2025-06-05 04:52:46 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (0001-xml2-Fix-error-handling-in-corner-cases.patch) at 2025-06-02 05:21:24 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
History
When Who What
2025-07-01 06:51:31 Michael Paquier (michael-kun) Closed in commitfest PG19-1 with status: Committed
2025-07-01 06:51:31 Michael Paquier (michael-kun) Changed committer to michael-kun
2025-06-12 12:44:02 Jim Jones (jimus) Changed targetversion to 19
2025-06-06 10:27:06 Jim Jones (jimus) Added jimus as reviewer
2025-06-03 04:17:23 Michael Paquier (michael-kun) Attached mail thread 18943-2f2a04ab03904598@postgresql.org
2025-06-03 04:17:23 Michael Paquier (michael-kun) Created patch record
Log in to edit