OOM error from cyclic symlinks in repo #1235
Labels
bug
Something isn't working
good first issue
Good for newcomers
priority ⭐️
Triaged and deemed a priority
Code editor
Emacs
Platform
Linux (NixOS unstable)
Version
5.4.0
What steps will reproduce the bug?
Open any
.sh
file inside of e.g. https://github.com/fwupd/fwupd/ which contains a/sys
style directory inside ofsrc/tests/sys
with cyclic symlinks.How often does it reproduce? Is there a required condition?
Reproduces perfectly.
What is the expected behavior?
Probably needs some kind of cycle detection for symlinks when walking the file system. An example might be the Rust walkdir crate https://github.com/BurntSushi/walkdir/blob/2.5.0/src/lib.rs#L973
What do you see instead?
This is the stderr after the process exits:
Additional information
No response
The text was updated successfully, but these errors were encountered: