[Bug 276809] SEGFAULTs using libjail
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 276809] SEGFAULTs using libjail"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Feb 2024 18:32:27 UTC
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.