summaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-09-12 03:17:15 +0000
committerGitHub <noreply@github.com>2022-09-12 03:17:15 +0000
commit8e167c765da198a2e9895e387c4f75ff664d7bf0 (patch)
treea02284930e322a768704a854cd906ceca40b359b /src/sys
parentadca7fdc3a92a50b5ea1b283d6d22234c93e5af1 (diff)
parent4d38456cab60843d212a62af7066ceac7bc6011e (diff)
downloadnix-8e167c765da198a2e9895e387c4f75ff664d7bf0.zip
Merge #1815
1815: Handle unacceptable name gracefully in {User,Group}::from_name r=asomers a=magicant Calling `unwrap` on the result of `CString::new` may cause the current thread to panic, which is a bit surprising undocumented behavior. It would be more reasonable to treat the erroneous name as a non-existing user or group. Co-authored-by: WATANABE Yuki <magicant@wonderwand.net>
Diffstat (limited to 'src/sys')
0 files changed, 0 insertions, 0 deletions