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

The other problem, reading past the end of a buffer, is a situation endemic to the entire C language

Exactly. Defense in depth is nice, but I would hope we'd be moving toward a world where it's needed a lot less often. It's like booking a cruise and spending more time in the life rafts, every time we cruise.

(and any language that allows pointers).

Technically, there are such thing as typesafe pointers. And as of late, I'm not even speaking hypothetically - doesn't Rust have experimental support for various persuasions of typesafe manual memory management?