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 22 2024, 5:44 AM
Unknown Object (File)
Sep 19 2024, 5:38 AM
Unknown Object (File)
Sep 18 2024, 3:27 PM
Unknown Object (File)
Sep 18 2024, 9:54 AM
Unknown Object (File)
Sep 18 2024, 3:04 AM
Unknown Object (File)
Sep 17 2024, 11:35 PM
Unknown Object (File)
Sep 17 2024, 12:51 PM
Unknown Object (File)
Sep 16 2024, 10:01 PM
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