aboutsummaryrefslogtreecommitdiff
path: root/stand
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2018-08-14 18:35:33 +0000
committerKyle Evans <kevans@FreeBSD.org>2018-08-14 18:35:33 +0000
commit4c5d19fda423193c9fd51548dcb45a2dccaa34da (patch)
tree5bd3c4146ef516376704d98edb1c78a1c01ef27f /stand
parentcc4deabc28a0f094e9523c3e88ca2631a80e39e4 (diff)
downloadsrc-4c5d19fda423193c9fd51548dcb45a2dccaa34da.tar.gz
src-4c5d19fda423193c9fd51548dcb45a2dccaa34da.zip
bectl(8): Check jailparam_* return values
Previous iteration of this assumed that these won't fail because we've already setup the jail param to this point, but the allocations could still fail in pretty bad conditions. Admit that it's possible and return (ENOENT, EINVAL, ENOMEM, or 0) when deleting arguments. EINVAL shouldn't happen since we're passing optarg; which may satisfy *optarg == '\0' but never optarg == NULL. CID: 1394885, 1394901
Notes
Notes: svn path=/head/; revision=337805
Diffstat (limited to 'stand')
0 files changed, 0 insertions, 0 deletions