You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Casting is not protected by SafeMath and could overflow. There is one case where this may happen.
Technical Details
This line of StopLossLogic casts a uint256 dy_diff to an int256 value. It is possible a very large unsigned value would be converted to a negative number.
Impact
Informational.
Recommendation
Consider protecting against this casting overflow.
The text was updated successfully, but these errors were encountered:
Casting is not protected by SafeMath and could overflow. There is one case where this may happen.
Technical Details
This line of StopLossLogic casts a uint256
dy_diff
to an int256 value. It is possible a very large unsigned value would be converted to a negative number.Impact
Informational.
Recommendation
Consider protecting against this casting overflow.
The text was updated successfully, but these errors were encountered: