[Bug 276809] SEGFAULTs using libjail

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 04 Feb 2024 22:54:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276809

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

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

commit dfabf3efaa795e657f3858b7e2d0b11f8a51ecb5
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-02-04 02:22:09 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-02-04 22:52:30 +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

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

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