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
12
u/[deleted] Apr 09 '14
I have read it, maybe it is you who are not understanding. The "countermeasures" are a workaround for the fact that C does not check array bounds accesses! They are not 100% guaranteed to work in all cases since system memory is returned in pages which might include several malloc()ed blocks of memory within them. Of course the caching was dumb and made the countermeasure less effective, and maybe it would have been caught sooner. But it does not negate the fact that C allows this kind of errant runtime behaviour to fall through without complaint!