From 3239de925db1db289657bec05fbda303196a81f2 Mon Sep 17 00:00:00 2001 From: Simone Basso Date: Wed, 20 Mar 2024 13:20:32 +0100 Subject: [PATCH] Update pkg/gobash/version.go --- pkg/gobash/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/gobash/version.go b/pkg/gobash/version.go index 70cd387fc..daf375d7e 100644 --- a/pkg/gobash/version.go +++ b/pkg/gobash/version.go @@ -260,7 +260,7 @@ func unpackZip(targetDir, archiveFile string) error { // The validRelPath function rejects empty paths, paths containing backslash, paths // starting with / and paths containing ../. Additionally, according to // src/archive/zip/reader.go, the zip specification only allows files containing - // forward slashes and considers files containing backslashes to be inscure. + // forward slashes and considers files containing backslashes to be insecure. // // Therefore, by using validRelPath here, we should be able to fix the security alert. if !validRelPath(f.Name) {