Skip to content

Use SafeInt in implementation of Col2Im#27625

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

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

Conversation

@fs-eire
Copy link
Contributor

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

Description

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

Copy link
Contributor

@tianleiwu tianleiwu left a comment

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