Skip to content

Infinite loop when walking through archive containing . (dot) entry #10

@adyatlov

Description

@adyatlov

STEPS

  1. Create an archive:

    mkdir empty_dir
    tar -cf fs_test_infinite_loop.tar -C empty_dir .
  2. Walk the archive using fs.WalkDir function.

EXPECTED:
The walk function is called once.
OBSERVED:
The walk function is in an infinite loop.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions