clipos / bugs

CLIP OS issue tracker
https://clip-os.org
28 stars 1 forks source link

Use hardened_malloc as the default memory allocator #42

Open madaidan opened 4 years ago

madaidan commented 4 years ago

Daniel Micay has created a hardened memory allocator, hardened_malloc, which provides substantial protection from memory corruption vulnerabilities.

It would be best if this was used globally by default (either by integrating it into libc or via /etc/ld.so.preload), but it can be used on a case-by-case basis via LD_PRELOAD.

tsautereau-anssi commented 4 years ago

We looked at hardened_malloc a while ago and are likely to integrate it to CLIP OS (at least to the Core). As we still have quite important things to accomplish beforehand, we won't tackle this straightaway but contributions are of course welcome.

Thanks for opening this issue, I'll leave it open to track related progress.