contrib/apparmor/main.go:28:23: G703: Path traversal via taint analysis (gosec)
if err := os.MkdirAll(path.Dir(apparmorProfilePath), 0o755); err != nil {
^
contrib/apparmor/main.go:32:23: G703: Path traversal via taint analysis (gosec)
f, err := os.OpenFile(apparmorProfilePath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0o644)
^
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
The contrib directory contains scripts, images, and other helpful things
which are not part of the core docker distribution. Please note that they
could be out of date, since they do not receive the same attention as the
rest of the repository.