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
1
u/[deleted] Apr 09 '14
I'm honestly not sure how you can suggest that "C or C++ is not at fault here" with a straight face.
Note that I'm not saying that the OpenSSL team was following best practices, but we could point to any bug and simply say "well, the programmer shouldn't have done that!". Obviously that's trivially true, but it's not a terribly useful statement.
C absolutely was at fault here - any language which does not permit unsafe access to memory would have rendered this bug impossible. If this were one of a few C memory access bugs that had ever occurred throughout history, fine, the programmers are just idiots. But when it happens over and over and over again, at what point do we actually admit that it is almost impossible to write safe software using C?
Based on this and countless other bugs, even the best programmers obviously can't write safe non-trivial software in C. So why do we keep blaming the programmers?