Affected by GO-2022-0793
and 1 other vulnerabilities
GO-2022-0793: Path traversal in u-root in github.com/u-root/u-root
GO-2022-0805: github.com/u-root/u-root/pkg/tarutil Arbitrary File Write via Archive Extraction (Zip Slip) in github.com/u-root/u-root
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Nov 19, 2021
License: BSD-3-Clause
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 14
Opens a new window with list of known importers.
Documentation
¶
Package uzip contains utilities for file system->zip and zip->file system conversions.
func AppendZip(dir, dest, comment string) (reterr error)
AppendZip packs the all files at dir to a zip archive at dest.
Comment returns the comment from the zip file.
FromZip extracts the zip archive at src to dir.
ToZip packs the all files at dir to a zip archive at dest.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.