Skip to content

zstd 1.4.5 - wrapper patches 2

Pre-release
Pre-release
Compare
Choose a tag to compare
@Viq111 Viq111 released this 16 Feb 16:28
· 70 commits to 1.x since this release
8cb8bac

The semantic versioning of this release is a bit particular since it only includes changes in the Go wrapper without any changes from the upstream C repository (https://github.com/facebook/zstd/releases).

Changes:

  • Pass pointers to C as unsafe.Pointer, not uintptr (memory corruption) @evanj (#91)
  • Add go.mod file @Viq111 (#94)
  • [circleci] Fix 32 bits builds @Viq111 (#92)

This is a recommended version as it fixes a potential memory corruption bug when the system is under-pressure (memory and/or lots of threads) which forces the Go runtime to move the stack around.

edit: This version went back to pre-release as it contains a bug when using a Writer object from another package (see #97)