summaryrefslogtreecommitdiff
path: root/vendor/github.com/klauspost/compress/flate/level6.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-02-19 17:50:11 +0100
committerGitHub <noreply@github.com>2020-02-19 17:50:11 +0100
commitf2bcc9cc7dc8b1937f39db503db96651d84c3e3e (patch)
tree2999b7f3be8cc23ed3b9653966c389cd7b55d468 /vendor/github.com/klauspost/compress/flate/level6.go
parentaa1bb0b579fa053c3b0c47668dc8be0fa7f987f4 (diff)
parent86be569961b6dc73d15cbf9e709a12e586ba0077 (diff)
downloadpodman-f2bcc9cc7dc8b1937f39db503db96651d84c3e3e.tar.gz
podman-f2bcc9cc7dc8b1937f39db503db96651d84c3e3e.tar.bz2
podman-f2bcc9cc7dc8b1937f39db503db96651d84c3e3e.zip
Merge pull request #5258 from containers/dependabot/go_modules/github.com/containers/storage-1.16.0
build(deps): bump github.com/containers/storage from 1.15.8 to 1.16.0
Diffstat (limited to 'vendor/github.com/klauspost/compress/flate/level6.go')
-rw-r--r--vendor/github.com/klauspost/compress/flate/level6.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/github.com/klauspost/compress/flate/level6.go b/vendor/github.com/klauspost/compress/flate/level6.go
index cad0c7df7..00a311977 100644
--- a/vendor/github.com/klauspost/compress/flate/level6.go
+++ b/vendor/github.com/klauspost/compress/flate/level6.go
@@ -13,6 +13,9 @@ func (e *fastEncL6) Encode(dst *tokens, src []byte) {
inputMargin = 12 - 1
minNonLiteralBlockSize = 1 + 1 + inputMargin
)
+ if debugDecode && e.cur < 0 {
+ panic(fmt.Sprint("e.cur < 0: ", e.cur))
+ }
// Protect against e.cur wraparound.
for e.cur >= bufferReset {