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
PR #8360 contains a getOffchainStorageRoots function which concatenates the url bytes of an account using the help of a local totalLength variable. The totalLength is the aggregated length of all the offchainStorageRoots elements for a specified account.
Not using
SafeMath
PR #8360 contains a
getOffchainStorageRoots
function which concatenates the url bytes of an account using the help of a localtotalLength
variable. ThetotalLength
is the aggregated length of all theoffchainStorageRoots
elements for a specified account.Consider using OpenZeppelin's
SafeMath
to perform the addition tototalLength
to prevent overflow and maintain consistency with the method inbatchGetMetadataURL
.Part of the OpenZeppelin Release 6 Audit: @georgercarder @clarkhenry
The text was updated successfully, but these errors were encountered: