fixed msan error
cold dictionary is detected through a comparison with dictEnd, which was not initialized at the beginning of first DCtx usage.
This commit is contained in:
1 parent
674dd21bd0
commit
d195eec97e
2 files changed
+15
-14
No files matched your search
@@ -206,6 +206,7 @@ static void ZSTD_initDCtx_internal(ZSTD_DCtx* dctx)
|
||||
dctx->maxWindowSize = ZSTD_MAXWINDOWSIZE_DEFAULT;
|
||||
dctx->ddict = NULL;
|
||||
dctx->ddictLocal = NULL;
|
||||
dctx->dictEnd = NULL;
|
||||
dctx->ddictIsCold = 0;
|
||||
dctx->inBuff = NULL;
|
||||
dctx->inBuffSize = 0;
|
||||
|
||||
Reference in new issue
Block a user