heap allocation canaries #14

Closed
thestinger opened this Issue Aug 19, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@thestinger
Contributor

thestinger commented Aug 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.

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Aug 22, 2015

Contributor

There's now an initial implementation of this.

Contributor

thestinger commented Aug 22, 2015

There's now an initial implementation of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment