Repository navigation
Fix trash in TokenExtractor - #93663
Merged
Merged
Conversation
Contributor
|
Workflow [PR], commit [1b483c0] Summary: ❌
|
ahmadov
approved these changes
Jan 8, 2026
ahmadov
enabled auto-merge
January 8, 2026 10:22
ahmadov
disabled auto-merge
January 8, 2026 10:23
rschu1ze
approved these changes
Jan 8, 2026
This was referenced Jan 9, 2026
8 of 30 tasks
This was referenced Oct 25, 2026
zvonand
added a commit
to Altinity/ClickHouse
that referenced
this pull request
Oct 26, 2026
Applied the buffer-length checks in stable-25.8's pointer style (`*pos`, `*token_length`) and dropped the `SparseGramsTokenExtractor` code, which doesn't exist on this branch.
zvonand
added a commit
to Altinity/ClickHouse
that referenced
this pull request
Oct 26, 2026
Rewrote the PR's bounds checks for 25.8's pointer-based extractor API (`size_t *` instead of `size_t &`); left out the `SparseGramsTokenExtractor` hunk because that class doesn't exist on 25.8.
zvonand
added a commit
to Altinity/ClickHouse
that referenced
this pull request
Oct 27, 2026
Antalya 25.8 Backport of ClickHouse#93663 - Fix trash in `TokenExtractor`
zvonand
added a commit
to Altinity/ClickHouse
that referenced
this pull request
Oct 27, 2026
Stable 25.8 Backport of ClickHouse#93663 - Fix trash in `TokenExtractor`
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.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
The usage of
ngram_bfindex on a non-UTF-8 data led to an uninitialized memory read, with values that could reside in the resulting index structure. Closes #92576.