Page MenuHomeFreeBSD

libjail: Guard against programmer error in jailparam_export()
ClosedPublic

Authored by markj on Feb 4 2024, 2:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 3 2025, 6:00 PM
Unknown Object (File)
Sep 2 2025, 11:18 PM
Unknown Object (File)
Sep 2 2025, 5:42 PM
Unknown Object (File)
Aug 25 2025, 11:39 AM
Unknown Object (File)
Aug 8 2025, 8:40 PM
Unknown Object (File)
Jul 20 2025, 9:52 AM
Unknown Object (File)
Jul 3 2025, 5:39 PM
Unknown Object (File)
Jul 3 2025, 9:26 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable