Skip to content

Backport #115700 to 26.5: Bound the recursion in several parsers and schema readers - #116320

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

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

Conversation

@robot-clickhouse-ci-1

@robot-clickhouse-ci-1 robot-clickhouse-ci-1 commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

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

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: 26.5.8.31

@robot-clickhouse-ci-1 robot-clickhouse-ci-1 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 [48d2a76]

Summary: ✅

alexey-milovidov and others added 2 commits August 27, 2026 16:34
…oint`

On 26.5, `parseWKBFormat` does not support the `MultiPoint` geometry (WKB type 4),
so the type-4 query fails with `BAD_ARGUMENTS` before any recursion happens.
Drop that line and keep the `MultiLineString`/`MultiPolygon` (types 5/6) checks,
which exercise the backported `checkStackSize` guard and return `TOO_DEEP_RECURSION`.

Same adaptation as the sibling backports of #115700.

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

Co-Authored-By: Claude Fable 5 <[email protected]>
@alexey-milovidov
alexey-milovidov merged commit 4c16314 into 26.5 Aug 27, 2026
34 checks passed
@alexey-milovidov
alexey-milovidov deleted the backport/26.5/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