The Cargo.toml search approach that looks at all ancestor directories goes on longer than it should. The problem is that it constructs paths like "/example/../../../../..", but that path is considered to exist, so the loop would continue on until the path was too long to be valid.
Noticed this while running machete under strace to see what paths it was looking at, in order to diagnose a false positive.
The Cargo.toml search approach that looks at all ancestor directories goes on longer than it should. The problem is that it constructs paths like "/example/../../../../..", but that path is considered to exist, so the loop would continue on until the path was too long to be valid.
Noticed this while running machete under strace to see what paths it was looking at, in order to diagnose a false positive.