Skip to content

Conversation

@wonchung-microsoft
Copy link
Contributor

Description

Fix comparison of narrow type with wide type in loop condition.

Motivation and Context

Comparison between types of different widths in a loop condition can cause the loop to fail to terminate.

@wonchung-microsoft wonchung-microsoft marked this pull request as draft January 7, 2025 18:55
Fix comparison of narrow type with wide type in loop condition.
Comparison between types of different widths in a loop condition can
cause the loop to fail to terminate.
@wonchung-microsoft wonchung-microsoft force-pushed the user/wonchung/fix_codeql_issues branch from 92339f5 to 1f35602 Compare January 7, 2025 19:32
@wonchung-microsoft wonchung-microsoft marked this pull request as ready for review January 7, 2025 19:38
Copy link
Contributor

@snnn snnn left a comment

Choose a reason for hiding this comment

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

Thanks

@snnn snnn merged commit c75681a into main Jan 8, 2025
94 of 96 checks passed
@snnn snnn deleted the user/wonchung/fix_codeql_issues branch January 8, 2025 01:30
snnn pushed a commit that referenced this pull request Jan 8, 2025
### Description
Fix comparison of narrow type with wide type in loop condition.

### Motivation and Context
Comparison between types of different widths in a loop condition can
cause the loop to fail to terminate.
tarekziade pushed a commit to tarekziade/onnxruntime that referenced this pull request Jan 10, 2025
…osoft#23276)

### Description
Fix comparison of narrow type with wide type in loop condition.

### Motivation and Context
Comparison between types of different widths in a loop condition can
cause the loop to fail to terminate.
guschmue pushed a commit that referenced this pull request Jan 12, 2025
### Description
Fix comparison of narrow type with wide type in loop condition.

### Motivation and Context
Comparison between types of different widths in a loop condition can
cause the loop to fail to terminate.
ashrit-ms pushed a commit that referenced this pull request Mar 17, 2025
### Description
Fix comparison of narrow type with wide type in loop condition.

### Motivation and Context
Comparison between types of different widths in a loop condition can
cause the loop to fail to terminate.
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.

3 participants