[Bug 259076] pthread_mutex_init fails with limited AS

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 18 Oct 2021 22:04:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259076

--- Comment #10 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=73dddffc3175581ba99f6ced9a2e508a0e880e59

commit 73dddffc3175581ba99f6ced9a2e508a0e880e59
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-10-15 17:59:37 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-10-18 22:02:47 +0000

    crt_malloc: more accurate handling of mmap(2) failure

    Reset both pagepool_start and pagepool_end after a mmap(2) failure,
    to avoid using invalid pagepool either for allocation or munmap(2).

    PR:     259076
    Noted by:       Denis Koreshkov <dynamic-wind@mail.ru>
    Reviewed by:    arichardson
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D32514

 libexec/rtld-elf/rtld_malloc.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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