Skip to content

Commit

Permalink
Merge pull request shellphish#32 from Eterna1/master
Browse files Browse the repository at this point in the history
should be 'before' than 'after', I think
  • Loading branch information
zardus authored Feb 14, 2017
2 parents f095732 + 26c9f53 commit 28f1219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastbin_dup_into_stack.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ int main()
"return a pointer to it.\n", a);
stack_var = 0x20;

printf("Now, we overwrite the first 8 bytes of the data at %p to point right after the 0x20.\n", a);
printf("Now, we overwrite the first 8 bytes of the data at %p to point right before the 0x20.\n", a);
*d = (unsigned long long) (((char*)&stack_var) - sizeof(d));

printf("3rd malloc(8): %p, putting the stack address on the free list\n", malloc(8));
Expand Down

0 comments on commit 28f1219

Please sign in to comment.