Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2024 15:15:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        jail@FreeBSD.org
Subject:   [Bug 276809] SEGFAULTs using libjail
Message-ID:  <bug-276809-29815-O8oKXm8muw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276809-29815@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276809-29815@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=3D276809

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D5e21d7cd31194faf8c2bdda2bc60adf34=
eaa405a

commit 5e21d7cd31194faf8c2bdda2bc60adf34eaa405a
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-02-04 02:22:09 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-02-11 15:14:59 +0000

    libjail: Guard against programmer error in jailparam_export()

    If the caller didn't use jailparam_import() to fetch the parameter
    value, an attempt to export it will trigger a segfault.  Make it a bit
    easier to figure out what's happening in this situation.

    PR:             276809
    Reviewed by:    jamie
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D43732

    (cherry picked from commit dfabf3efaa795e657f3858b7e2d0b11f8a51ecb5)

 lib/libjail/jail.c | 6 ++++++
 1 file changed, 6 insertions(+)

--=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-276809-29815-O8oKXm8muw>