From 5b9a42a5a84bea8eeab2e8bba996ebaec5eea5f9 Mon Sep 17 00:00:00 2001 From: Bet4 <0xbet4@gmail.com> Date: Sat, 6 Jun 2020 17:18:51 -0500 Subject: [PATCH] Fix find_fake_fast error on older gdb version (#760) --- pwndbg/commands/heap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwndbg/commands/heap.py b/pwndbg/commands/heap.py index 743d55d4b..ae28b1485 100755 --- a/pwndbg/commands/heap.py +++ b/pwndbg/commands/heap.py @@ -511,7 +511,7 @@ def find_fake_fast(addr, size=None): if size is None: sizes = range(min_fast, max_fast + 1, align) else: - sizes = [size] + sizes = [int(size)] print(C.banner("FAKE CHUNKS")) for size in sizes: