Closed jamie-walker closed 1 year ago
This avoids having to lookup the field and fixes a bug where the wrong fieldId was passed causing a segfault if ZstdDecompressCtx#reset() was called before ZstdCompressCtx() was used.
Yes, that makes sense. I don't know why I didn't pass the ptr by value.
Just released 1.5.4-2 with that fix and similar refactor of the ZstdCompressionCtx.
ZstdCompressionCtx
This avoids having to lookup the field and fixes a bug where the wrong fieldId was passed causing a segfault if ZstdDecompressCtx#reset() was called before ZstdCompressCtx() was used.