- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for zipinsecurepath (0.18 sec)
-
src/archive/zip/reader.go
"encoding/binary" "errors" "hash" "hash/crc32" "internal/godebug" "io" "io/fs" "os" "path" "path/filepath" "sort" "strings" "sync" "time" ) var zipinsecurepath = godebug.New("zipinsecurepath") var ( ErrFormat = errors.New("zip: not a valid zip file") ErrAlgorithm = errors.New("zip: unsupported compression algorithm") ErrChecksum = errors.New("zip: checksum error")
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 27.7K bytes - Viewed (0) -
src/archive/zip/reader_test.go
t.Setenv("GODEBUG", "zipinsecurepath=1") var buf bytes.Buffer zw := NewWriter(&buf) const name = "/foo" _, err := zw.Create(name) if err != nil { t.Fatalf("zw.Create(%q) = %v", name, err) } zw.Close() zr, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len())) if err != nil { t.Fatalf("NewReader with zipinsecurepath=1: got err %v, want nil", err) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0)