Merge pull request #1667 from volatilityfoundation/fix_slot_access

Ensure slot address is valid inside of array
This commit is contained in:
ikelos
2025-03-05 23:40:02 +00:00
committed by GitHub
@@ -702,7 +702,11 @@ class IDStorage(ABC):
node = self.nodep_to_node(nodep)
node_slots = node.slots
for off in range(self.CHUNK_SIZE):
slot = node_slots[off]
try:
slot = node_slots[off]
except exceptions.InvalidAddressException:
continue
if slot == 0:
continue