storage/pkg/archive
Zac Medico 091491bbf7 pkg/archive: limit user xattr value size to math.MaxUint16 bytes
This should avoid the following panic in Lgetxattr:

    panic: runtime error: makeslice: len out of range

Fixes: 0da4bc60b3 ("pkg/archive: strictly handle errors reading xattrs")
See: https://travis-ci.org/containers/buildah/jobs/617652963
Signed-off-by: Zac Medico <zmedico@gmail.com>
2019-11-27 14:41:08 -08:00
..
testdata Move archive package into pkg/archive 2014-09-29 23:23:36 -07:00
README.md Update packages to match latest code in moby/pkg 2017-09-12 18:00:29 +00:00
archive.go pkg/archive: limit user xattr value size to math.MaxUint16 bytes 2019-11-27 14:41:08 -08:00
archive_19.go pkg/archive: truncate ModTime when we'd otherwise round it 2018-12-06 13:50:38 -05:00
archive_110.go pkg/archive: truncate ModTime when we'd otherwise round it 2018-12-06 13:50:38 -05:00
archive_ffjson.go Add storage options to IgnoreChownErrors 2019-07-26 06:05:27 -04:00
archive_linux.go Fix to be able to build on FTBFS on mipsel 2019-11-11 17:27:49 -05:00
archive_linux_test.go archive.Tar: don't trust the "trusted.overlay.opaque" xattr 2018-02-23 16:00:48 -05:00
archive_other.go archive.Tar: don't trust the "trusted.overlay.opaque" xattr 2018-02-23 16:00:48 -05:00
archive_test.go Add storage options to IgnoreChownErrors 2019-07-26 06:05:27 -04:00
archive_unix.go Update packages to match latest code in moby/pkg 2017-09-12 18:00:29 +00:00
archive_unix_test.go Support for per-container uid/gid mapping: lower 2018-04-03 10:34:32 -04:00
archive_windows.go Update packages to match latest code in moby/pkg 2017-09-12 18:00:29 +00:00
archive_windows_test.go Update packages to match latest code in moby/pkg 2017-09-12 18:00:29 +00:00
archive_zstd.go zstd: use github.com/klauspost/compress directly 2019-07-22 16:19:07 +02:00
changes.go VFS support for user.* xattrs 2019-11-20 22:15:20 -08:00
changes_linux.go pkg/archive: limit user xattr value size to math.MaxUint16 bytes 2019-11-27 14:41:08 -08:00
changes_other.go Support for per-container uid/gid mapping: lower 2018-04-03 10:34:32 -04:00
changes_posix_test.go Support for per-container uid/gid mapping: lower 2018-04-03 10:34:32 -04:00
changes_test.go Support for per-container uid/gid mapping: lower 2018-04-03 10:34:32 -04:00
changes_unix.go Support for per-container uid/gid mapping: lower 2018-04-03 10:34:32 -04:00
changes_windows.go Support for per-container uid/gid mapping: lower 2018-04-03 10:34:32 -04:00
copy.go remove pkg/system/filesys* 2019-11-27 13:31:52 +01:00
copy_unix.go Windows - make docker cp functional 2015-08-06 11:22:38 -07:00
copy_unix_test.go Support for per-container uid/gid mapping: lower 2018-04-03 10:34:32 -04:00
copy_windows.go Windows - make docker cp functional 2015-08-06 11:22:38 -07:00
diff.go remove pkg/system/filesys* 2019-11-27 13:31:52 +01:00
diff_test.go Update packages to match latest code in moby/pkg 2017-09-12 18:00:29 +00:00
example_changes.go Update deps to github.com/sirupsen/logrus v1.0.0 2017-08-01 07:25:56 -07:00
time_linux.go Move archive package into pkg/archive 2014-09-29 23:23:36 -07:00
time_unsupported.go Move archive package into pkg/archive 2014-09-29 23:23:36 -07:00
utils_test.go Update packages to match latest code in moby/pkg 2017-09-12 18:00:29 +00:00
whiteouts.go Fix typos found across repository 2015-12-13 18:04:12 +02:00
wrap.go Update packages to match latest code in moby/pkg 2017-09-12 18:00:29 +00:00
wrap_test.go Update packages to match latest code in moby/pkg 2017-09-12 18:00:29 +00:00

README.md

This code provides helper functions for dealing with archive files.