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
Copy file name to clipboardExpand all lines: .changeset/witty-hats-flow.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,4 @@
2
2
'openzeppelin-solidity': patch
3
3
---
4
4
5
-
`Bytes`: Fix an issue when calling `lastIndexOf(bytes,byte,uint256)`with an empty buffer and a lookup position that is not 2²⁵⁶-1.
5
+
`Bytes`: Fix `lastIndexOf(bytes,byte,uint256)`with empty buffers and finite position to correctly return `type(uint256).max` instead of accessing uninitialized memory sections.
0 commit comments