Skip to content

Commit 8000285

Browse files
Merge pull request #10 from rainlanguage/2026-01-29-audit
hash dep update
2 parents 90efd94 + d9dbdd0 commit 8000285

File tree

6 files changed

+49
-33
lines changed

6 files changed

+49
-33
lines changed

flake.lock

Lines changed: 38 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

foundry.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"lib/forge-std": {
3-
"rev": "b8f065fda83b8cd94a6b2fec8fcd911dc3b444fd"
3+
"rev": "1801b0541f4fda118a10798fd3486bb7051c5dd6"
44
},
55
"lib/rain.lib.hash": {
6-
"rev": "9677b7063fc9ae8c580636760474719d910c2134"
6+
"rev": "a4f6df6fb74b7d14d94fb8f0477888cc23616bc3"
77
},
88
"lib/rain.solmem": {
9-
"rev": "f28da2f09d42d154783cb53c138a7ef2f3a9eb4a"
9+
"rev": "2e47e41af85a711d837b2518656db0efdae814c2"
1010
}
1111
}

lib/forge-std

src/lib/LibMemoryKV.sol

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,11 @@ library LibMemoryKV {
9999

100100
// kv must point to new insertion.
101101
//slither-disable-next-line incorrect-shift
102-
kv :=
103-
or(
104-
shl(bitOffset, pointer),
105-
// Mask out the old pointer
106-
and(kv, not(shl(bitOffset, 0xFFFF)))
107-
)
102+
kv := or(
103+
shl(bitOffset, pointer),
104+
// Mask out the old pointer
105+
and(kv, not(shl(bitOffset, 0xFFFF)))
106+
)
108107
}
109108
}
110109
return kv;

0 commit comments

Comments
 (0)