Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 2021 22:04:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 259076] pthread_mutex_init fails with limited AS
Message-ID:  <bug-259076-227-aCpx9TeiCi@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259076-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259076-227@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=3D259076

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D73dddffc3175581ba99f6ced9a2e508a0=
e880e59

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(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259076-227-aCpx9TeiCi>