GO-2022-0833 : Denial of Service in docker2aci in github.com/appc/docker2aci
Discover Packages
github.com/appc/docker2aci
tarball
package
Version:
v0.9.0
Opens a new window with list of versions in this module.
Published: Mar 8, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package tarball provides functions to manipulate tar files.
Note: this package is an implementation detail and shouldn't be used outside
of docker2aci.
Walk walks through the files in the tarball represented by tarstream and
passes each of them to the WalkFunc provided as an argument
type TarFile struct {
TarStream io .Reader
}
TarFile is a representation of a file in a tarball. It consists of two parts,
the Header and the Stream. The Header is a regular tar header, the Stream
is a byte stream that can be used to read the file's contents.
Linkname returns the Linkname of the file as reported by the header.
Name returns the name of the file as reported by the header.
WalkFunc is a func for handling each file (header and byte stream) in a tarball
Source Files
¶
Click to show internal directories.
Click to hide internal directories.