Date: Sat, 03 Feb 2024 18:32:27 +0000 From: bugzilla-noreply@freebsd.org To: jail@FreeBSD.org Subject: [Bug 276809] SEGFAULTs using libjail Message-ID: <bug-276809-29815-rcgPxz1ZwE@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 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 =3D=3D NULL and we trigger a nu= ll pointer dereference. But, the library should probably check for this case = and return an error instead of crashing. --=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-rcgPxz1ZwE>