Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
heap allocation canaries #14
Comments
thestinger
added
the
Type: enhancement
label
Aug 19, 2015
thestinger
closed this
Aug 21, 2015
thestinger
reopened this
Aug 21, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment|
There's now an initial implementation of this. |
thestinger
closed this
Aug 22, 2015
thestinger
added
the
Component: hardened malloc
label
Feb 6, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thestinger commentedAug 19, 2015
It would be nice to have a setting for adding a random canary after small allocations. The allocator already has significantly lower metadata overhead than a dlmalloc-style allocator so it could potentially even be enabled by default. This could be used to completely mitigate small heap overflow vulnerabilities (1 to 16 byte overflows) and it would help to catch other kinds of heap corruption.