You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case of decompression 'ret' member is unitialized in constructor - that causes sporadic failures.
In my case 'ret' gets value of 0xffffffffffffffff - generic error and constructor fails.
{
if (this->isInput) {
// Case of decompression - this->ret is not set.
this->dctx = ZSTD_createDCtx();
if (this->dctx == NULL) throw zstdException("ZSTD_createDCtx() failed!");
} else {
this->cctx = ZSTD_createCCtx();
if (this->cctx == NULL) throw zstdException("ZSTD_createCCtx() failed!");
this->ret = ZSTD_CCtx_setParameter(cctx, ZSTD_c_compressionLevel, level);
}
if (ZSTD_isError(this->ret)) throw zstdException(this->ret);
}
The text was updated successfully, but these errors were encountered:
In case of decompression 'ret' member is unitialized in constructor - that causes sporadic failures.
In my case 'ret' gets value of 0xffffffffffffffff - generic error and constructor fails.
The text was updated successfully, but these errors were encountered: