Upgrade compression package (#15284)

Includes mitigation for CVE-2022-30631 (Go should still be updated)

Remove functions now available upstream.
This commit is contained in:
Klaus Post
2022-07-13 07:48:14 -07:00
committed by GitHub
parent 788fd3df81
commit 697c9973a7
4 changed files with 7 additions and 70 deletions

View File

@@ -642,7 +642,7 @@ func TestS2CompressReader(t *testing.T) {
t.Errorf("no index returned")
}
var index s2.Index
_, err = index.Load(restoreIndexHeaders(idx))
_, err = index.Load(s2.RestoreIndexHeaders(idx))
if err != nil {
t.Errorf("error loading index: %v", err)
}