-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
Describe The Bug
In a directory that has a recursive symbolic link, the duckscript glob_array command performs a cyclic recursion.
To Reproduce
- Create a symbolic link that points at its parent directory
- Use
glob_array
Commentary
This is a bug in glob, not duckscript, but duckscript isn't completely off the hook because the glob crate has had an issue open since 2017 (rust-lang/glob#62), and a PR to fix it, but the crate hasn't been updated in several years. There are other glob-like crates in the ecosystem now with better options, including ones to ignore symlinks. It might be worthwhile migrating to one of them.
Metadata
Metadata
Assignees
Labels
No labels