Skip to content

Conversation

@Fibonacci747
Copy link
Contributor

import_table_with_range expects an inclusive end bound. Using from - 1 and to + 1 could underflow/overflow for edge inputs (from == 0 or to == u64::MAX) and was inconsistent with other stage imports. Switch to Some(from), to to precisely copy [from..=to] and avoid numeric wraparounds.

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

unsure here @joshieDo @shekhirin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants