Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Jun 2024 09:31:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 276104] [exp-run] Against llvm-18-update branch on GitHub
Message-ID:  <bug-276104-7788-UrsPHCZtgw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276104-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276104-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276104

--- Comment #170 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Dc7f08a11dfbc4a49f7f11a2a4a92f41bf=
a5ec622

commit c7f08a11dfbc4a49f7f11a2a4a92f41bfa5ec622
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-05-30 15:35:15 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-06-02 09:30:46 +0000

    Merge commit 9f85bc834b07 from llvm-project (by Nikita Popov):

      [PPCMergeStringPool] Only replace constant once (#92996)

      In #88846 I changed this code to use RAUW to perform the replacement
      instead of manual updates -- but kept the outer loop, which means we =
try
      to perform RAUW once per user. However, some of the users might be fr=
eed
      by the RAUW operation, resulting in use-after-free.

      The case where this happens is constant users where the replacement
      might result in the destruction of the original constant.

      Fixes https://github.com/llvm/llvm-project/issues/92991.

    This fixes a possible crash when building crypto/openssh/sshkey.c for
    PowerPC targets.

    Reported by:    cperciva
    PR:             276104
    MFC after:      3 days

    (cherry picked from commit f30188c4680a85126e793de157b851bf5ee47529)

 .../llvm/lib/Target/PowerPC/PPCMergeStringPool.cpp | 37 ++++--------------=
----
 1 file changed, 7 insertions(+), 30 deletions(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276104-7788-UrsPHCZtgw>