Repository navigation
Backport #106395 to 26.3: Arrow IPC: fix heap out-of-bounds reads and structural validation gaps in the column reader - #107322
Merged
Merged
Conversation
… structural validation gaps in the column reader
Contributor
|
Workflow [BackportPR], commit [887e81a] Summary: ✅ |
26.3 has no BinaryView/StringView reader and no UUID FixedSizeBinary reader, so the cases targeting them are removed: view types are rejected at schema extraction and the FixedString(1)-to-UUID conversion is caught by the memory limit instead of the width check.
bytehalo-infra
added a commit
to sentioxyz/ClickHouse
that referenced
this pull request
Sep 25, 2026
PROTO: malformed Arrow IPC input -> crash (OOB). Effect in the production build a394e92: its upstream test(s) 04307_arrow_oob_reads, 04308_arrow_oob_reads_value, 04309_arrow_oob_reads_offsets, 04310_arrow_oob_reads_arithmetic, 04327_arrow_oob_list_offsets, 04328_arrow_oob_nested_child_length, 04329_arrow_oob_struct_fields, 04330_arrow_oob_declared_length, 04331_arrow_oob_validity_bitmap fail on it and pass on official 26.8.8.8, run on isolated servers (evidence/fix_ci_20260925/upstream_repro/server_triage_PROD263_vs_UP2688.tsv). Upstream patch unchanged, with its test(s): 04307_arrow_oob_reads,04308_arrow_oob_reads_value,04309_arrow_oob_reads_offsets,04310_arrow_oob_reads_arithmetic,04327_arrow_oob_list_offsets,04328_arrow_oob_nested_child_length,04329_arrow_oob_struct_fields,04330_arrow_oob_declared_length,04331_arrow_oob_validity_bitmap. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Original pull-request #106395
Cherry-pick pull-request #107256
This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.
The PR source
The PR is created in the CI job
Version info
26.3.14.29