Skip to content

Backport #115700 to 25.8: Bound the recursion in several parsers and schema readers - #116305

Merged
alexey-milovidov merged 3 commits into
25.8from
backport/25.8/115700
Aug 27, 2026
Merged

alexey-milovidov merged 3 commits into
25.8from
backport/25.8/115700

Conversation

@robot-ch-test-poll4

@robot-ch-test-poll4 robot-ch-test-poll4 commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #115700
Cherry-pick pull-request #115951

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

  • Merged into: 25.8.34.6

@robot-ch-test-poll4 robot-ch-test-poll4 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix labels Aug 25, 2026
@clickhouse-gh

clickhouse-gh Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [ccfbca9]

alexey-milovidov and others added 2 commits August 27, 2026 14:10
25.8 has no generic `readWKB` function — only the type-specific
`readWKBPoint`/`readWKBMultiLineString`/`readWKBMultiPolygon` — and its WKB
parser does not support `MultiPoint` (type 4). Use the type-specific
functions and drop the type-4 case; the recursion guard in
`parseWKBFormat` is still exercised through them.

Verified against the PR's CI-built binary (build_arm_release 25.8.33.1):
deep types 5/6 return `TOO_DEEP_RECURSION` (306), shallow point returns (0,0).

CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=116305&sha=5728593fae5a91022eba330a711e3c84c1a80390&name_0=BackportPR
PR: #116305

Co-Authored-By: Claude Fable 5 <[email protected]>
@alexey-milovidov
alexey-milovidov merged commit 1922637 into 25.8 Aug 27, 2026
33 checks passed
@alexey-milovidov
alexey-milovidov deleted the backport/25.8/115700 branch August 27, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants