Add bounds checks for ALPRD scan sizes before memcpy by diegobmadero · Pull Request #22348 · duckdb/duckdb · GitHub
Skip to content

Add bounds checks for ALPRD scan sizes before memcpy - #22348

Merged
Mytherin merged 4 commits into
duckdb:mainfrom
diegobmadero:alprd-bounds-checks
Apr 30, 2026
Merged

Mytherin merged 4 commits into
duckdb:mainfrom
diegobmadero:alprd-bounds-checks

Conversation

@diegobmadero

Copy link
Copy Markdown

Add runtime validation for ALPRD scan metadata before using decoded sizes in memcpy.

Invalid dictionary sizes or exception counts now raise an IOException for corrupt storage data.

@duckdb-draftbot
duckdb-draftbot marked this pull request as draft April 28, 2026 20:24
@diegobmadero
diegobmadero marked this pull request as ready for review April 29, 2026 04:39
@duckdb-draftbot
duckdb-draftbot marked this pull request as draft April 30, 2026 07:59
@hannes
hannes marked this pull request as ready for review April 30, 2026 08:17
@Mytherin
Mytherin added this pull request to the merge queue Apr 30, 2026
@Mytherin

Copy link
Copy Markdown
Member

Merged via the queue into duckdb:main with commit 5cf4060 Apr 30, 2026
107 checks passed
carlopi added a commit to carlopi/duckdb that referenced this pull request Jun 5, 2026
Mytherin added a commit that referenced this pull request Jun 6, 2026
krlmlr pushed a commit to krlmlr/duckdb that referenced this pull request Jun 21, 2026
krlmlr pushed a commit to krlmlr/duckdb that referenced this pull request Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants