Skip to content

Commit

Permalink
chore: get rid of remove_dir_all (#542)
Browse files Browse the repository at this point in the history
The remove_dir_all crate is a Rust library that offers additional 
features over the Rust standard library fs::remove_dir_all function. 
It suffers the same class of failure as the code it was layering over:
TOCTOU race conditions, with the ability to cause arbitrary paths 
to be deleted by substituting a symlink for a path after the type of 
the path was checked. 

So we need to get rid of the remove_dir_all dependency.
  • Loading branch information
hi-rustin committed May 16, 2024
1 parent 1c1d599 commit 60bcf87
Showing 1 changed file with 14 additions and 48 deletions.
62 changes: 14 additions & 48 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 60bcf87

Please sign in to comment.