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
Discover Packages
github.com/u-root/u-root
cmds
dirname
command
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Nov 21, 2018
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
dirname prints out the directory name of one or more args.
If no arg is given it returns an error and prints a message which,
per the man page, is incorrect, but per the standard, is correct.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.