mutate.Extract
will export wrong content when have a hard link and later modify it. (under special conditions)
#2002
Labels
bug
Something isn't working
Describe the bug
Make a file and create a hard link to it, if this file is not the first file in tar (In general, it is in dictionary order).
And then modify this file, the content from
crane export
of the hard link file will be wrong.To Reproduce
or I have built a image and pushed to dockerhub,
just use it
will get output
Expected behavior
Additional context
It's related to #977
Add any other context about the problem here.
crane version
: 0.20.2The text was updated successfully, but these errors were encountered: