r/programming •

Theo de Raadt: "OpenSSL has exploit mitigation countermeasures to make sure it's exploitable"

[deleted] — view deleted post

0 Upvotes

661 comments sorted by

View all comments

Show parent comment

1

u/vote_me_down Apr 10 '14

If you're implying that it's intended to stop and make you think about it because it stands out, then no, it isn't - that's just what some of its proponents say (and opponents then point out if you stop to think about it anyway, you can instead just check there's a double-equals).

Its design is solely, "If we reverse the expression, we can rely on compilation/static analysis to fail if we attempt to overwrite a constant".