Repository navigation
fixing a possible underflow while parsing postgres array values - #104322
Conversation
|
Workflow [PR], commit [7ca9875] Summary: ✅ AI ReviewSummaryThis PR fixes a real correctness issue in ClickHouse Rules
Final Verdict
|
LLVM Coverage Report
Changed lines: 100.00% (43/43) · Uncovered code |
a0b79a6
|
Hi — could this be a backport candidate for Affected code: Why this might apply: This is a crash/undefined behavior fix in PostgreSQL array parsing. The affected code path in Caveat: I verified that the modified code exists in those branches, but not whether the bug is actually reachable there — a new caller in master may be what makes this newly observable. If older branches can't reach the affected path, please ignore this; otherwise consider |
Cherry pick #104322 to 26.2: fixing a possible underflow while parsing postgres array values
…ostgres array values
Cherry pick #104322 to 26.3: fixing a possible underflow while parsing postgres array values
…ostgres array values
Cherry pick #104322 to 26.4: fixing a possible underflow while parsing postgres array values
…ostgres array values
Backport #104322 to 26.4: fixing a possible underflow while parsing postgres array values
Backport #104322 to 26.3: fixing a possible underflow while parsing postgres array values
Cherry pick #104322 to 25.8: fixing a possible underflow while parsing postgres array values
…ostgres array values
Backport #104322 to 26.2: fixing a possible underflow while parsing postgres array values
Backport #104322 to 25.8: fixing a possible underflow while parsing postgres array values
… parsing postgres array values
…4322 Backport ClickHouse#104322 to 26.4: fixing a possible underflow while parsing postgres array values
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fixes a possible underflow in parsing postgres arrays.
Documentation entry for user-facing changes
When parsing arrays, we decrement a size_t without checking if it is 0 or not. Now we will throw an exception instead.
Version info
26.5.1.57626.4.3.15,26.3.11.15,26.2.19.22,25.8.24.15