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)
Dec 3 2024, 10:14 PM
Unknown Object (File)
Dec 3 2024, 10:14 PM
Unknown Object (File)
Dec 3 2024, 10:14 PM
Unknown Object (File)
Dec 3 2024, 9:53 PM
Unknown Object (File)
Dec 1 2024, 2:18 PM
Unknown Object (File)
Nov 16 2024, 2:37 AM
Unknown Object (File)
Nov 16 2024, 2:31 AM
Unknown Object (File)
Nov 16 2024, 12:58 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