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
r/programming • • Apr 09 '14
[deleted] — view deleted post
View all comments
Show parent comment
22
u/adrianmonk Apr 09 '14 edited Apr 09 '14
How would these have prevented the heartbleed flaw? In not seeing it. The flaw is caused by trusting an external source to tell you how big of a size argument to pass to memcpy() (and malloc()).
EDIT: OK, they're talking about guard pages. Guard pages would use the MMU to detect when something is reading or writing in a place where it shouldn't be.