Skip to content

Conversation

@ktock
Copy link
Member

@ktock ktock commented Dec 22, 2020

#220

Currently, estargz lib makes an infinite reference loop of TOCEntry when the
input estargz contains the entry of the root directory itself. As a result, the
client walks infinite TOCEntry tree. This commit fixes this issue and adds a
test to detect it. This commit also adds a logic to prevent the infinite
recursive call of cacheWithReader.

Currently, estargz lib makes an infinite reference loop of TOCEntry when the
input estargz contains the entry of the root directory itself. As a result, the
client walks infinite TOCEntry tree. This commit fixes this issue and adds a
test to detect it. This commit also adds a logic to prevent the infinite
recursive call of `cacheWithReader`.

Signed-off-by: Kohei Tokunaga <[email protected]>
@AkihiroSuda AkihiroSuda merged commit f045b42 into containerd:master Dec 22, 2020
@ktock ktock deleted the loop branch October 7, 2022 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants