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

8

u/shub Apr 09 '14

Tests don't pass if you turn off the allocator cache.

30

u/hegbork Apr 09 '14

And since they appear to be equivalent to malloc and free the question is which other bugs in OpenSSL those allocator wrappers hide.

8

u/ajanata Apr 09 '14

So fix the code that fails when you turn off the allocator cache. If you simply "must" use it, then it shouldn't even be an option to compile without it.

1

u/shub Apr 09 '14

I completely agree, and was just pointing out the reason that their custom allocator is used on platforms where it has little to no benefit. Shipping broken code is always a terrible idea and it's 100 times worse for security-critical code.