Eyüp Can Akman
44ebbde6a3
Fake console stdin in valgrindTest to force failure
2026-04-20 20:12:21 +03:00
Yann Collet and GitHub
48c0ed7362
Merge pull request #4635 from facebook/dependabot/github_actions/msys2/setup-msys2-2.31.0
...
Bump msys2/setup-msys2 from 2.30.0 to 2.31.0
2026-04-01 15:07:14 -07:00
Yann Collet and GitHub
b3a648a204
Merge pull request #4636 from facebook/dependabot/github_actions/github/codeql-action-4.35.1
...
Bump github/codeql-action from 4.31.2 to 4.35.1
2026-04-01 15:06:22 -07:00
Yann Collet and GitHub
6d6eff1008
Merge pull request #4634 from facebook/dependabot/github_actions/android-actions/setup-android-4.0.0
...
Bump android-actions/setup-android from 3.2.2 to 4.0.0
2026-04-01 15:05:28 -07:00
Yann Collet and GitHub
c0ec909bde
Merge pull request #4633 from facebook/dependabot/github_actions/microsoft/setup-msbuild-3.0.0
...
Bump microsoft/setup-msbuild from 2.0.0 to 3.0.0
2026-04-01 15:04:29 -07:00
dependabot[bot] and GitHub
0d815ad877
Bump github/codeql-action from 4.31.2 to 4.35.1
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.31.2 to 4.35.1.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/0499de31b99561a6d14a36a5f662c2a54f91beee...c10b8064de6f491fea524254123dbe5e09572f13 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.35.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-01 05:50:47 +00:00
dependabot[bot] and GitHub
a23bf84362
Bump msys2/setup-msys2 from 2.30.0 to 2.31.0
...
Bumps [msys2/setup-msys2](https://github.com/msys2/setup-msys2 ) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/msys2/setup-msys2/releases )
- [Changelog](https://github.com/msys2/setup-msys2/blob/main/CHANGELOG.md )
- [Commits](https://github.com/msys2/setup-msys2/compare/4f806de0a5a7294ffabaff804b38a9b435a73bda...cafece8e6baf9247cf9b1bf95097b0b983cc558d )
---
updated-dependencies:
- dependency-name: msys2/setup-msys2
dependency-version: 2.31.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-01 05:50:38 +00:00
dependabot[bot] and GitHub
497a433e01
Bump android-actions/setup-android from 3.2.2 to 4.0.0
...
Bumps [android-actions/setup-android](https://github.com/android-actions/setup-android ) from 3.2.2 to 4.0.0.
- [Release notes](https://github.com/android-actions/setup-android/releases )
- [Commits](https://github.com/android-actions/setup-android/compare/9fc6c4e9069bf8d3d10b2204b1fb8f6ef7065407...651bceb6f9ca583f16b8d75b62c36ded2ae6fc9c )
---
updated-dependencies:
- dependency-name: android-actions/setup-android
dependency-version: 4.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-01 05:50:32 +00:00
dependabot[bot] and GitHub
5fc4931c04
Bump microsoft/setup-msbuild from 2.0.0 to 3.0.0
...
Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild ) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases )
- [Commits](https://github.com/microsoft/setup-msbuild/compare/6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce...30375c66a4eea26614e0d39710365f22f8b0af57 )
---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
dependency-version: 3.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-04-01 05:50:27 +00:00
kevinjzhang and GitHub
3ae099b48d
Merge pull request #4626 from kevinjzhang/fix-high-memory-usage
...
Fix unintended high memory usage
2026-03-17 16:16:04 -07:00
Kevin Zhang
cef5a5611a
Fix unintended high memory usage
2026-03-17 13:11:22 -07:00
Yann Collet and GitHub
e56865641e
Merge pull request #4613 from nidu-ninja/null-deref-custom-calloc
...
Fix potential NULL pointer dereference in ZSTD_customCalloc when cust…
2026-03-16 09:37:07 -07:00
Yann Collet and GitHub
c84c8fb47f
Merge pull request #4606 from jlee303/update_manual
...
Update manual/error message
2026-03-13 10:37:36 -07:00
Yann Collet and GitHub
ff25783fcb
Merge pull request #4619 from jlee303/display_option_c
...
Promote -c flag
2026-03-13 10:34:03 -07:00
Yann Collet and GitHub
155046f3ac
Merge pull request #4620 from jlee303/defineable_cflags
...
Make DISPLAY_LEVEL_DEFAULT configurable at compile time
2026-03-13 10:33:46 -07:00
Yann Collet and GitHub
ee0af93e1c
Merge pull request #4609 from Integral-Tech/memory-g-suffix
...
Accept G, GB and GiB suffixes for options
2026-03-13 10:33:24 -07:00
Jennifer Lee
e374fc76fe
fix display format
2026-03-12 11:34:43 -07:00
Jennifer Lee
3f565b731e
rever -q
2026-03-12 11:32:48 -07:00
Jennifer Lee
3041c8e539
Update #define format
2026-03-11 08:29:06 -07:00
Integral
488b3a7e37
Add tests for options with G, GB and GiB suffixes
2026-03-10 10:16:53 +08:00
Jennifer Lee
2293e9601f
init commit
2026-03-09 17:17:13 -07:00
Jennifer Lee
13ea076d3b
Update tests
2026-03-09 16:40:42 -07:00
Jennifer Lee
043426b3e2
Promote flag
2026-03-09 16:30:41 -07:00
NiDU-NINJA
3f8f9b3f89
Fix potential NULL pointer dereference in ZSTD_customCalloc when custom allocator fails
2026-03-07 08:27:15 +00:00
Integral
f1e77ab2ba
Accept G, GB and GiB suffixes for options
2026-03-07 14:49:39 +08:00
Jennifer Lee
7b04e6dd1e
Retry CI
2026-03-06 09:47:03 -08:00
Nick Terrell and Nick Terrell
d7ee3207cc
Remove LICENSE file in build/ dir
2026-03-05 19:00:23 -05:00
1bd8e55363
Update programs/zstd.1.md
...
Co-authored-by: Nick Terrell <nickrterrell@gmail.com >
2026-03-05 15:12:33 -08:00
Jennifer Lee
6a8715f8d4
update man
2026-03-04 13:29:20 -08:00
Sergey G. Brester (sebres) and Nick Terrell
6e1e545916
avoid potential RC on ctx->threadLimit, code review;
...
closes gh-4547; replaces gh-4558
2026-03-02 14:39:17 -05:00
Yann Collet and GitHub
0532fe3e8a
Merge pull request #4598 from facebook/dependabot/github_actions/cygwin/cygwin-install-action-6.1
...
Bump cygwin/cygwin-install-action from 6.0 to 6.1
2026-03-01 00:39:29 -08:00
Yann Collet and GitHub
9468cace38
Merge pull request #4597 from facebook/dependabot/github_actions/actions/upload-artifact-7.0.0
...
Bump actions/upload-artifact from 6.0.0 to 7.0.0
2026-03-01 00:38:57 -08:00
dependabot[bot] and GitHub
1c140a86a1
Bump cygwin/cygwin-install-action from 6.0 to 6.1
...
Bumps [cygwin/cygwin-install-action](https://github.com/cygwin/cygwin-install-action ) from 6.0 to 6.1.
- [Release notes](https://github.com/cygwin/cygwin-install-action/releases )
- [Commits](https://github.com/cygwin/cygwin-install-action/compare/f2009323764960f80959895c7bc3bb30210afe4d...711d29f3da23c9f4a1798e369a6f01198c13b11a )
---
updated-dependencies:
- dependency-name: cygwin/cygwin-install-action
dependency-version: '6.1'
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-01 05:32:44 +00:00
dependabot[bot] and GitHub
d9b10820f8
Bump actions/upload-artifact from 6.0.0 to 7.0.0
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: 7.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-03-01 05:32:41 +00:00
richardsonnick and Nick Terrell
bb1eedcf86
correct mmap error check
...
Update mmap error validation to check for MAP_FAILED instead of NULL.
POSIX specifies that mmap returns MAP_FAILED (-1) on failure.
2026-02-27 17:40:26 -05:00
Alexander Moch and Nick Terrell
2107c8f189
bitstream: fix BIT_readBits and BIT_reloadDStream prototypes
...
Align the declarations of BIT_readBits() and BIT_reloadDStream() in
bitstream.h with their FORCE_INLINE_TEMPLATE definitions.
The previous MEM_STATIC declarations caused an attribute mismatch
between the header and the definitions, which can lead to incorrect
compiler assumptions under certain toolchains and optimization levels.
Signed-off-by: Alexander Moch <mail@alexmoch.com >
2026-02-27 16:37:40 -05:00
Radek Zikmund and Nick Terrell
bce1ec6b07
Make explicit ptrdiff_t to int casts in divsufsort.c to avoid compiler warnings.
2026-02-27 16:32:11 -05:00
Cody and Nick Terrell
81cf153bce
fix: adjust LDM params in estimate functions to prevent SIGFPE (issue #4590 )
2026-02-27 16:14:28 -05:00
Briar Campbell and Nick Terrell
117b0edfae
Fix formatting of lz4 option in zstdcli.c
2026-02-27 16:10:41 -05:00
Briar Campbell and Nick Terrell
a90d7e7689
Fix formatting of lz4 option in README
2026-02-27 16:10:41 -05:00
Yann Collet and GitHub
1168da0e56
Merge pull request #4575 from Cyan4973/depend_monthly
...
extend dependabot period to monthly
2026-01-26 10:03:13 -08:00
Yann Collet
a380d30b20
extend dependabot period to monthly
2026-01-26 09:01:27 -08:00
Yann Collet and GitHub
4b8d87a8c3
Merge pull request #4574 from facebook/dependabot/github_actions/actions/checkout-6.0.2
...
Bump actions/checkout from 6.0.1 to 6.0.2
2026-01-26 08:57:23 -08:00
Yann Collet and GitHub
deb898b541
Merge pull request #4573 from facebook/dependabot/github_actions/actions/setup-java-5.2.0
...
Bump actions/setup-java from 5.1.0 to 5.2.0
2026-01-26 08:56:49 -08:00
dependabot[bot] and GitHub
a46bec0fba
Bump actions/checkout from 6.0.1 to 6.0.2
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases )
- [Commits](https://github.com/actions/checkout/compare/v6.0.1...v6.0.2 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-26 05:51:10 +00:00
dependabot[bot] and GitHub
a8319c39de
Bump actions/setup-java from 5.1.0 to 5.2.0
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](https://github.com/actions/setup-java/compare/f2beeb24e141e01a676f977032f5a29d81c9e27e...be666c2fcd27ec809703dec50e508c2fdc7f6654 )
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-version: 5.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-01-26 05:50:49 +00:00
Yann Collet and GitHub
ae9f20ca27
Merge pull request #4554 from facebook/no_legacy
...
Remove legacy support by default
2025-12-18 16:46:12 -08:00
Yann Collet and GitHub
e00ddf63b2
Merge pull request #4555 from facebook/fix4553
...
Fix #4553
2025-12-18 16:30:23 -08:00
Yann Collet and Yann Collet
1dae4f0188
test: fix versionsTest build for old zstd versions
...
Summary:
Some old zstd versions (notably v0.6.x) have a bug in fileio.c where header includes check for `ZSTD_LEGACY_SUPPORT==1` but code usage checks for `ZSTD_LEGACY_SUPPORT>=1`. Using value 5 causes compilation failure because headers aren't included but the code tries to use legacy functions.
Changing to `ZSTD_LEGACY_SUPPORT=1` for old version builds fixes the compilation while still enabling legacy format support.
Test Plan:
Run `make versionsTest` or `python3 tests/test-zstd-versions.py` to verify all old versions compile and cross-version decompression works correctly.
2025-12-18 16:13:53 -08:00
Yann Collet
3a3c506b51
Fix #4553
...
This is a bug in the streaming implementation of the v0.5 decoder.
The bug has always been there.
It requires an uncommon block configuration, which wasn't tested at the time.
v0.5 is deprecated now,
latest version to produce such format is v0.5.1 from February 2016.
It was superceded in April 2016.
So it's both short lived and very old.
Another PR will remove support of this format,
but it will still be possible to explicitely request this support on demand,
so better fix the issue.
2025-12-18 15:52:11 -08:00