Skip to content

fix an integer-driven out-of-bounds memory read vulnerability in DartsCloneTrieWrapper - #1550

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_977902657
Sep 9, 2026
Merged

fix an integer-driven out-of-bounds memory read vulnerability in DartsCloneTrieWrapper#1550
copybara-service[bot] merged 1 commit into
masterfrom
test_977902657

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

fix an integer-driven out-of-bounds memory read vulnerability in DartsCloneTrieWrapper

Refactored the API surface across DartsCloneTrieWrapper, FastBertNormalizer, and OnePassNormalizer to avoid passing explicit integer size arguments (size_t/int), accepting absl::Span instead so bounds are automatically inferred from containers (std::vector, std::array, absl::FixedArray, and FlatBuffers flatbuffers::Vector).

@copybara-service
copybara-service Bot force-pushed the test_977902657 branch 3 times, most recently from 0dfd37f to 49c9ef3 Compare September 9, 2026 13:26
…sCloneTrieWrapper

Refactored the API surface across DartsCloneTrieWrapper, FastBertNormalizer, and OnePassNormalizer to avoid passing explicit integer size arguments (size_t/int), accepting absl::Span<const uint32_t> instead so bounds are automatically inferred from containers (std::vector, std::array, absl::FixedArray, and FlatBuffers flatbuffers::Vector).

PiperOrigin-RevId: 978509649
@copybara-service
copybara-service Bot merged commit 65fbcfa into master Sep 9, 2026
4 checks passed
@copybara-service
copybara-service Bot deleted the test_977902657 branch September 9, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant