Skip to content

Conversation

@wqliang
Copy link
Contributor

@wqliang wqliang commented May 8, 2020

it may cause overflow when calculate with int and assigns to long.
assign int value to a long variable and then do calculating to avoid overflow.

@qqeasonchen qqeasonchen merged commit 305eef0 into apache:develop May 8, 2020
xwm1992 pushed a commit that referenced this pull request Aug 4, 2022
fix potential overflow and limit upper bound
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