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
Copy Markdown
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
Copy Markdown
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

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