Skip to content

Commit 0ec852b

Browse files
authored
♻️ LibZip memsafe (#1352)
1 parent 947389e commit 0ec852b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/utils/LibZip.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ library LibZip {
247247
/// For efficiency, this function will directly return the results, terminating the context.
248248
/// If called internally, it must be called at the end of the function.
249249
function cdFallback() internal {
250+
/// @solidity memory-safe-assembly
250251
assembly {
251252
if iszero(calldatasize()) { return(calldatasize(), calldatasize()) }
252253
let o := 0

0 commit comments

Comments
 (0)