summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorWATANABE Yuki <magicant@wonderwand.net>2022-09-11 23:01:08 +0900
committerWATANABE Yuki <magicant@wonderwand.net>2022-09-11 23:07:34 +0900
commit4d38456cab60843d212a62af7066ceac7bc6011e (patch)
tree7c1e08c556ec4f499387b1b45de627b2ff38e42a /CONTRIBUTING.md
parent1eb589f26fe4b56ce799e05d3b5fb527729cffdf (diff)
downloadnix-4d38456cab60843d212a62af7066ceac7bc6011e.zip
Handle unacceptable name gracefully in {User,Group}::from_name
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.
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions