Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Feb 2024 18:32:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 276809] SEGFAULTs using libjail
Message-ID:  <bug-276809-227-SaOkmBYNeh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276809-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276809

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org
           Assignee|bugs@FreeBSD.org            |jail@FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
The problem is that your code is not calling jailparam_import() or
jailparam_get() (with some JID specified in the parameters).  In this case,
there is no value to export, i.e., jd_value == NULL and we trigger a null
pointer dereference.  But, the library should probably check for this case and
return an error instead of crashing.

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

home | help

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