Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ghtym0 committed Jun 13, 2018
1 parent 3078346 commit fcf5712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glibc_2.26/tcache_poisoning.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ int main()
free(a);

fprintf(stderr, "Now the tcache list has [ %p ].\n", a);
fprintf(stderr, "We overwrite the first %d bytes (fd/next pointer) of the data at %p\n"
fprintf(stderr, "We overwrite the first %lu bytes (fd/next pointer) of the data at %p\n"
"to point to the location to control (%p).\n", sizeof(intptr_t), a, &stack_var);
a[0] = (intptr_t)&stack_var;

Expand Down

0 comments on commit fcf5712

Please sign in to comment.