Skip to content

Conversation

@klauspost
Copy link
Owner

@klauspost klauspost commented May 28, 2021

Detect short frame signatures, sizes 1 ->3 bytes.

Fixes #381

Detect short frame signatures.

Fixes #381
@klauspost klauspost merged commit d172db7 into master May 28, 2021
@klauspost klauspost deleted the zstd-read-fd-sep branch May 28, 2021 08:56
mostynb added a commit to mostynb/zstdpool-syncpool that referenced this pull request Jun 6, 2021
This includes the following zstd improvements since v1.12.3:

* Detect short invalid signatures
  klauspost/compress#382
* Spawn decoder goroutine only if needed
  klauspost/compress#380
mostynb added a commit to mostynb/go-grpc-compression that referenced this pull request Jun 6, 2021
This includes the following zstd improvements since v1.12.3:

* Detect short invalid signatures
  klauspost/compress#382
* Spawn decoder goroutine only if needed
  klauspost/compress#380
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

zstd.Decoder omitting errors for short invalid data

2 participants