Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
Asooka
8y ago
0 comments
Share
malloc already hands you more than you ask for in a lot of cases, check out malloc_usable_size.
0 comments
default
newest
oldest
scarybeast
8y ago
This is true. But in the case where the malloc heap metadata is under attack, the attacker will usually just allocate exactly the right size to ensure that the off-by-one goes off the end of the chunk, instead of into slack space.
j
/
k
navigate · click thread line to collapse