Repository navigation
Revert "[GPU] GDeflate compression codec on the CPU" - #128947
Merged
Merged
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
alexey-milovidov
approved these changes
Nov 3, 2026
scanhex12
added a commit
that referenced
this pull request
Nov 3, 2026
… and writes `contrib/gdeflate` now points at the branch `gdeflate` of `ClickHouse/libdeflate`, with ClickHouse/libdeflate#9 on top of `NVIDIA/libdeflate@8ba9502`: - The decoder refilled a stream with 4 bytes without comparing its position with the end of the page, so a page shorter than 128 bytes or a corrupt one was read past its end (`multiple_decompress_fuzzer`, heap-buffer-overflow in `deflate_decompress_default`). - `libdeflate_gdeflate_compress_bound` left out the two packets each of the 32 streams may hold at its end, and the encoder did not check its packet writes against the buffer: a valid `INSERT` failed with `CANNOT_COMPRESS` (`05443_gdeflate_codec` with a random `index_granularity`), and a page past the bound was written out of bounds. The bytes of every page that compressed before are unchanged. The library is no longer built with `deflate_compress.c` on its own: it was there only for `libdeflate_deflate_compress_bound`. https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=b08434c5500c10180f0c43fedb0f5e860b20f46f&name_0=MasterCI&name_1=Stateless%20tests%20%28amd_tsan%2C%20parallel%29 Related: #128625 Related: #127910 Related: #128947
This was referenced Nov 4, 2026
Closed
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reverts #127422
The feature is broken and has security issues
Workflow [PR]
Sync PR [sync-upstream/pr/128947]
Version info
26.11.1.1226-master(included in26.11and later)