Skip to content

Decompress does not detect missing checksum #111

Description

@klauspost

What version of Go are you using (go version)?

λ go version
go version go1.17.6 windows/amd64

Current 1.x branch.

What did you do?

Use Decompress on this payload. Frame says it has CRC, but there is no CRC:

78ca79037d839ec574560e8f3bd38c530fc4da20.zst.gz

What did you expect to see?

Similar error to zstd command line:

λ zstd -d 78ca79037d839ec574560e8f3bd38c530fc4da20.zst
3bd38c530fc4da20.zst : 0 MB...     3bd38c530fc4da20.zst : Read error (39) : premature end

What did you see instead?

No error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions