[Bug 286439] textproc/libxml2 local port patch causes random x11/mate-terminal build failures

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 23 May 2025 22:25:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286439

--- Comment #12 from commit-hook@FreeBSD.org ---
A commit in branch 2025Q2 references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=0b3da26d11cf4048be6143b8b8684d737d0160ab

commit 0b3da26d11cf4048be6143b8b8684d737d0160ab
Author:     Don Lewis <truckman@FreeBSD.org>
AuthorDate: 2025-05-23 21:48:34 +0000
Commit:     Don Lewis <truckman@FreeBSD.org>
CommitDate: 2025-05-23 22:23:25 +0000

    textproc/py-pylibxml2: rm patch that scans garbage

    Remove a local patch that scans stack garbage for a pattern and then uses
    the pointer after the array has been filled with actual data.  This can
    cause random segfaults.

    The patch is under textproc/libxml2, but the patched file is only used by
    textproc/py-pylibxml2.

    The UTF-8 issue this was intended to fix was fixed upstream in a more
    comprehensive way in 2.11.0 with this commit:
   
https://gitlab.gnome.org/GNOME/libxml2/-/commit/76c6da420923f2721a2e16adfcef8707a2454a1b

    PR:             286439 279034
    Approved by:    desktop (makc)
    Tested by:      vvd
    MFH:            2025Q2

    (cherry picked from commit d5b2d60fc76964a3e5b8f50d2992bd751f688f04)

 .../libxml2/files/patch-python_libxml.c (gone)     | 35 ----------------------
 textproc/py-libxml2/Makefile                       |  2 +-
 2 files changed, 1 insertion(+), 36 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.