v0.7.1
+fixed : ZBUFF_compressEnd() called multiple times with too small `dst` buffer, reported by Christophe Chevalier
fixed : corruption issue, reported by cj
modified : checksum enabled by default in command line mode
op += outSize;
if (remainingToFlush) {
*dstCapacityPtr = op-ostart;
- return remainingToFlush;
+ return remainingToFlush + (ZSTD_BLOCKHEADERSIZE * (zbc->stage != ZBUFFcs_final));
} }
if (zbc->stage == ZBUFFcs_final) { zbc->stage = ZBUFFcs_init; *dstCapacityPtr = op-ostart; return 0; }