Skip to content

Commit ae768a7

Browse files
committed
vendor: github.com/moby/go-archive with hardening
full diff: ctalledo/go-archive@91b7e54...df2ce62 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent fada50c commit ae768a7

13 files changed

Lines changed: 427 additions & 144 deletions

vendor.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ tool (
1111
golang.org/x/mod/modfile // for module compatibility check
1212
)
1313

14+
// FIXME(thaJeztah): testing https://github.com/moby/go-archive/pull/45
15+
replace github.com/moby/go-archive => github.com/ctalledo/go-archive v0.2.1-0.20260716171756-df2ce6219bdc
16+
1417
require (
1518
dario.cat/mergo v1.0.2
1619
github.com/containerd/errdefs v1.0.0

vendor.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.7 h1:zbFlGlXEAKlwXpmvle3d8Oe3YnkKIK4xSRTd3
3131
github.com/cpuguy83/go-md2man/v2 v2.0.7/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
3232
github.com/creack/pty v1.1.24 h1:bJrF4RRfyJnbTJqzRLHzcGaZK1NeM5kTC9jGgovnR1s=
3333
github.com/creack/pty v1.1.24/go.mod h1:08sCNb52WyoAwi2QDyzUCTgcvVFhUzewun7wtTfvcwE=
34+
github.com/ctalledo/go-archive v0.2.1-0.20260716171756-df2ce6219bdc h1:MEQg/nICbusB9kvrXFuhn9Q7ZNsKoYK7ss7NkgVvS/4=
35+
github.com/ctalledo/go-archive v0.2.1-0.20260716171756-df2ce6219bdc/go.mod h1:M+VLaXxS7DSgrQxxhQKGCuT9Wki/pa1hzMgU3VLQeHQ=
3436
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
3537
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
3638
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -111,8 +113,6 @@ github.com/mattn/go-runewidth v0.0.24/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhg
111113
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
112114
github.com/moby/docker-image-spec v1.3.1 h1:jMKff3w6PgbfSa69GfNg+zN/XLhfXJGnEx3Nl2EsFP0=
113115
github.com/moby/docker-image-spec v1.3.1/go.mod h1:eKmb5VW8vQEh/BAr2yvVNvuiJuY6UIocYsFu/DxxRpo=
114-
github.com/moby/go-archive v0.2.1-0.20260716170833-91b7e546daf2 h1:e1iD3zKmY2frfW5N7r1lp4tVZu5Qx2LB/LYUtzxUVeA=
115-
github.com/moby/go-archive v0.2.1-0.20260716170833-91b7e546daf2/go.mod h1:M+VLaXxS7DSgrQxxhQKGCuT9Wki/pa1hzMgU3VLQeHQ=
116116
github.com/moby/moby/api v1.55.0 h1:2/sexvQyqIWS8pRSCFddBfpW2qE7vR7FCL+vN8pxwMc=
117117
github.com/moby/moby/api v1.55.0/go.mod h1:+RQ6wluLwtYaTd1WnPLykIDPekkuyD/ROWQClE83pzs=
118118
github.com/moby/moby/client v0.5.0 h1:5XhyPk2fuOWf6RlSFa3MkIIgDZkF25xToXW8Q/BH7cc=

vendor/github.com/moby/go-archive/archive.go

Lines changed: 181 additions & 76 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/moby/go-archive/archive_unix.go

Lines changed: 7 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/moby/go-archive/archive_windows.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/moby/go-archive/diff.go

Lines changed: 71 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)