Avoid infinite loop on 0-sized chunks in heap command (#124)

pull/125/head
andigena 9 years ago committed by Zach Riggle
parent b1892b2774
commit b7c0fe8751

@ -80,6 +80,8 @@ def heap(addr=None):
# Clear the bottom 3 bits # Clear the bottom 3 bits
size &= ~7 size &= ~7
if size == 0:
break
addr += size addr += size
@pwndbg.commands.ParsedCommand @pwndbg.commands.ParsedCommand

Loading…
Cancel
Save