Skip to content

Commit 8be98af

Browse files
committed
fix fastbin_reverse_into_tcache.c
1 parent 9610867 commit 8be98af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

glibc_2.42/fastbin_reverse_into_tcache.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ int main(){
5050
// Create an array on the stack and initialize it with garbage.
5151
size_t stack_var[6];
5252
memset(stack_var, 0xcd, sizeof(stack_var));
53-
53+
stack_var[1] = 0x51;
54+
5455
printf("The stack address that we intend to target: %p\n"
5556
"It's current value is %p\n", &stack_var[2], (char*)stack_var[2]);
5657

0 commit comments

Comments
 (0)