Merge pull request #545 from terrelln/force-window

[zstdmt] Fix MSAN failure with ZSTD_p_forceWindow
This commit is contained in:
Yann Collet 2017-02-15 10:20:15 -08:00 committed by GitHub
commit 44f82d781f
2 changed files with 2 additions and 2 deletions

View File

@ -2512,7 +2512,7 @@ static size_t ZSTD_loadDictionaryContent(ZSTD_CCtx* zc, const void* src, size_t
return ERROR(GENERIC); /* strategy doesn't exist; impossible */
}
zc->nextToUpdate = zc->loadedDictEnd;
zc->nextToUpdate = (U32)(iend - zc->base);
return 0;
}

View File

@ -231,7 +231,7 @@ zstd-playTests: datagen
ZSTD="$(QEMU_SYS) $(ZSTD)" ./playTests.sh $(ZSTDRTTEST)
test: test-zstd test-fullbench test-fuzzer test-zstream test-invalidDictionaries test-legacy
ifneq ($(QEMU_SYS),qemu-ppc64-static)
ifeq ($(QEMU_SYS),)
test: test-pool
endif