Gas: BytesLib
addition can be unchecked
#41
Labels
bug
Warden finding
G (Gas Optimization)
resolved
Finding has been patched by sponsor (sponsor pls link to PR containing fix)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
cmichel
Vulnerability details
The
index += 32
addition inreadBytes32
can be put in anunsafe
block as the array length is already checked to be greater than the addition.The text was updated successfully, but these errors were encountered: