> On May 5, 2018, at 11:46 AM, Xiening Dai <[email protected]> wrote: > >>>> BTW we are about to do a release that fixes a bug with zstd. > > I am curious which bug you are referring to. Is it a bug with Java > implementation or it affects C++ as well?
The bugs were in the Java implementation. IIRC there were two problems. In v0.10, we added support for zstd concatenated frames, and it had a rare buffer overrun problem. The second problem has been around since the beginning. When the file contains checksums they weren’t being validated correctly. We missed this one because the default native implementation was not adding checksums so the code wasn’t actually being tested. -dain
