Skip to content

Use forked archive/tar package for go 1.8 regression#1210

Merged
stevvooe merged 1 commit intocontainerd:masterfrom
dmcgowan:use-forked-tar
Jul 19, 2017
Merged

Use forked archive/tar package for go 1.8 regression#1210
stevvooe merged 1 commit intocontainerd:masterfrom
dmcgowan:use-forked-tar

Conversation

@dmcgowan
Copy link
Copy Markdown
Member

Use fork of archive/tar to carry changes to tar for all go versions.

Includes patch for go 1.8 regression in reading tars created by earlier versions of go. See golang/go#21005

@stevvooe stevvooe added this to the containerd alpha1 milestone Jul 19, 2017
Use fork of archive/tar to carry changes to tar for
all go versions.

Signed-off-by: Derek McGowan <[email protected]>
@dmcgowan
Copy link
Copy Markdown
Member Author

This will require rebasing after #1208, related to previous failure

@stevvooe
Copy link
Copy Markdown
Member

@dmcgowan Consider the possibility that we could just detect these tar headers and error out. The condition is that the UID/GID is greater than 010000000. Not sure how much that exposes to unconsumable tar files. @tonistiigi

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #1210 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1210   +/-   ##
=======================================
  Coverage   28.09%   28.09%           
=======================================
  Files          28       28           
  Lines        2833     2833           
=======================================
  Hits          796      796           
  Misses       1888     1888           
  Partials      149      149

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 35d5900...23aa491. Read the comment docs.

@stevvooe
Copy link
Copy Markdown
Member

LGTM

Filed #1219 to put together a better strategy here.

@stevvooe stevvooe merged commit 28e8d95 into containerd:master Jul 19, 2017
@tiborvass
Copy link
Copy Markdown

@dmcgowan dmcgowan deleted the use-forked-tar branch September 10, 2019 17:44
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.

4 participants