Skip to content

Recursive symlinks cause infinite loop in host_scanner #1428

Description

@Molter73

Title pretty much sums it up, creating a symlink like:

ln -s . symlink

This causes the glob crate to expand to infinite paths and locking fact until it crashes. There are some open issues to address this in the glob crate itself, but they have been in limbo for almost 10 years, so we probably want to move away from that crate and come up with a different solution, potentially using globset instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions