mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 05:17:49 +08:00
b518035a33
* [ZSTD] Update to 1.4.5 * [zstd] fix wrong assert to fix uwp regressions * always install *.pc file. Correct -l flag in pc file * fix orc regression * fix arrow regressions * fix orc zstd linkage * fix find_package(ZSTD) * install zstd dlls. * fix the patch due to a replacement error Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
14 lines
623 B
Diff
14 lines
623 B
Diff
diff --git a/lib/decompress/zstd_decompress.c b/lib/decompress/zstd_decompress.c
|
|
index be5c7cfc3..539190998 100644
|
|
--- a/lib/decompress/zstd_decompress.c
|
|
+++ b/lib/decompress/zstd_decompress.c
|
|
@@ -721,7 +721,7 @@ static size_t ZSTD_decompressMultiFrame(ZSTD_DCtx* dctx,
|
|
decodedSize = ZSTD_decompressLegacy(dst, dstCapacity, src, frameSize, dict, dictSize);
|
|
if (ZSTD_isError(decodedSize)) return decodedSize;
|
|
|
|
- assert(decodedSize <=- dstCapacity);
|
|
+ assert(decodedSize <= dstCapacity);
|
|
dst = (BYTE*)dst + decodedSize;
|
|
dstCapacity -= decodedSize;
|
|
|