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/happyscrappy Apr 10 '14

True. Aren't we kind of ignoring the elephant in the room here though? If the protocol didn't have a bug that sent back an up to 64K buffer of malloced data without clearing it of what was there before, then it wouldn't matter what happened.

The system failed. The goals were worthy and everyone looked at the protocol and it looked okay. Turned out it wasn't okay and due to malloc not having extra guards it was doubly a problem.