Skip to content

zstd: Another data corruption on SpeedBestCompression level #922

@MichaelEischer

Description

@MichaelEischer

After a bug report at restic/restic#4677, we've identified that it is caused by the zstd library at the SpeedBestCompression level. Compressing and decompressing it afterwards results in corrupted data. There is no data corruption at the default compression level. I've tested versions v1.17.4 (via restic using Go 1.21.6) and v1.17.5 (using Go 1.21.6).

minimized.txt (Minimized using the script from #875)

Sorry for only bringing bad news, and that just before the weekend 😞 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions