r/programming • • Apr 09 '14

Theo de Raadt: "OpenSSL has exploit mitigation countermeasures to make sure it's exploitable"

[deleted] — view deleted post

2.0k Upvotes

661 comments sorted by

View all comments

Show parent comment

-2

u/mbcook Apr 10 '14

If one platform has an allocator problem, you either say 'fix it' or put in a shim that is skipped with #ifdefs on good platforms.

You don't write your own memory subsystem and force it on all platforms.

"Hey, Qt is slow to draw on Plan9. Better implement our own windowing system and make all the other platforms use it".

That decision is especially rediculous in a security library where your subtle bugs are likely to have huge consequences. Do you really think your custom allocator is going to get more/better testing than the platform malloc implementation?