From e234a234ce6ec932291e31330e52f76bd1540f8a Mon Sep 17 00:00:00 2001 From: hoangprod <41701929+hoangprod@users.noreply.github.com> Date: Sun, 11 Aug 2024 21:21:59 -0400 Subject: [PATCH] Update double-free.md A slight typo here probably. Printing i1 would always result in the same address regardless of the double free. --- binary-exploitation/libc-heap/double-free.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binary-exploitation/libc-heap/double-free.md b/binary-exploitation/libc-heap/double-free.md index ea8889046..174eece3a 100644 --- a/binary-exploitation/libc-heap/double-free.md +++ b/binary-exploitation/libc-heap/double-free.md @@ -89,7 +89,7 @@ int main() { printf("g1: %p\n", (void *)g1); printf("h1: %p\n", (void *)h1); printf("i1: %p\n", (void *)i1); - printf("i2: %p\n", (void *)i1); + printf("i2: %p\n", (void *)i2); return 0; }