Merge pull request #2654 from wolfpld/dev
Initialize "potentially uninitialized" pointers.
This commit is contained in:
commit
8a3bdfaa7b
@ -1296,8 +1296,8 @@ size_t ZSTD_RowFindBestMatch_generic (
|
|||||||
size_t ddsIdx;
|
size_t ddsIdx;
|
||||||
U32 ddsExtraAttempts; /* cctx hash tables are limited in searches, but allow extra searches into DDS */
|
U32 ddsExtraAttempts; /* cctx hash tables are limited in searches, but allow extra searches into DDS */
|
||||||
U32 dmsTag;
|
U32 dmsTag;
|
||||||
U32* dmsRow;
|
U32* dmsRow = NULL;
|
||||||
BYTE* dmsTagRow;
|
BYTE* dmsTagRow = NULL;
|
||||||
|
|
||||||
if (dictMode == ZSTD_dedicatedDictSearch) {
|
if (dictMode == ZSTD_dedicatedDictSearch) {
|
||||||
const U32 ddsHashLog = dms->cParams.hashLog - ZSTD_LAZY_DDSS_BUCKET_LOG;
|
const U32 ddsHashLog = dms->cParams.hashLog - ZSTD_LAZY_DDSS_BUCKET_LOG;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user