mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-25 01:54:23 +01:00
As we bumped the rust toolchain to 1.66.0, some new warnings have been raised due to needless_borrow. Let's fix them all here. For more info about the warnings, please, take a look at: https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
Safe Path
A library to safely handle filesystem paths, typically for container runtimes.
There are often path related attacks, such as symlink based attacks, TOCTTOU attacks. The safe-path crate
provides several functions and utility structures to protect against path resolution related attacks.
Support
Operating Systems:
- Linux
Reference
filepath-securejoin: secure_join() written in Go.- CVE-2021-30465: symlink related TOCTOU flaw in
runC.
License
This code is licensed under Apache-2.0.