jetty / jetty/jetty.project

Resource.getAllResources() will hang forever if symlink loop exists within resource directory.

Open
#6,578 11 comments 0 reactions 1 assignee Claimed by @joakime View on GitHub
Dominant language
Java
Stars
4.1k
Forks
2k
Avg merge
3d 56m
Merged PRs (30d)
48

Description

If there is a circular symlink directory structure somewhere within the resource directory, calling `getAllResources()` will never complete.

I did a flamegraph while this was happening and `getAllResources()` was on the stacktrace about 30 calls deep from recusing into other resources.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.