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
The uint64() function bounds integers to 64 bits. However, it is often used unnecessarily, such as with bytearray lengths that are already bounded by transaction size limits (16,384 bytes).
Recommendation
Remove unnecessary uint64() calls where the integer value is inherently bounded.
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Task description 🔨🔧
Security Issue: Redundant uint64() Usage (ID-106)
Description
The
uint64()
function bounds integers to 64 bits. However, it is often used unnecessarily, such as with bytearray lengths that are already bounded by transaction size limits (16,384 bytes).Recommendation
uint64()
calls where the integer value is inherently bounded.Anything else?
No response
The text was updated successfully, but these errors were encountered: