Skip to content

Commit

Permalink
fix one sentence in poison_null_byte comments
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniobianchi333 committed Jun 11, 2017
1 parent 559d301 commit c471b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poison_null_byte.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ int main()
uint64_t* c_prev_size_ptr = ((uint64_t*)c)-2;
printf("c.prev_size is %#lx\n",*c_prev_size_ptr);

// This malloc will lead to call unlink on the chunk were b was.
// This malloc will result in a call to unlink on the chunk where b was.
// The added check (commit id: 17f487b), if not properly handled as we did before,
// will detect the heap corruption now.
// The check is this: chunksize(P) != prev_size (next_chunk(P)) where
Expand Down

0 comments on commit c471b5e

Please sign in to comment.