Skip to content

Use SafeInt in implementation of Col2Im - #27625

Merged
fs-eire merged 2 commits into
mainfrom
fs-eire/fix-safeint-col2im
Mar 13, 2026
Merged

Use SafeInt in implementation of Col2Im#27625
fs-eire merged 2 commits into
mainfrom
fs-eire/fix-safeint-col2im

Conversation

@fs-eire

@fs-eire fs-eire commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

Description

Fix integer overflow in Col2Im shape calculation by using SafeInt for attacker-controlled dimension arithmetic

@tianleiwu tianleiwu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fs-eire
fs-eire enabled auto-merge (squash) March 12, 2026 20:30
@fs-eire
fs-eire merged commit 2e151ae into main Mar 13, 2026
91 checks passed
@fs-eire
fs-eire deleted the fs-eire/fix-safeint-col2im branch March 13, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants