wasi-testsuite icon indicating copy to clipboard operation
wasi-testsuite copied to clipboard

_cleanup_test_output looks dangerous

Open yamt opened this issue 11 months ago • 0 comments

_cleanup_test_output uses python glob with recursive=True to find files/directories to remove. it seems very dangerous as it follows symlinks. especially when we have a test which tries to create a symlink to "/': https://github.com/WebAssembly/wasi-testsuite/blob/697538bd29676b36e7765a1e28acdf19bbe694f3/tests/rust/src/bin/symlink_create.rs#L65-L68

yamt avatar Aug 28 '23 05:08 yamt