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

33

u/Grimoire Apr 09 '14

16

u/thebigslide Apr 09 '14

Haven't we learned a thing or two recently about what can happen if you don't add braces to one line if blocks!? Especially with returns after them... I know it was hurried, but there's really no excuse for that.

4

u/[deleted] Apr 09 '14

I cringed while reading the code too. Put some darn braces on statements like that. Especially when you know tons of people are going to read your code.

1

u/poloppoyop Apr 10 '14

You don't want to create too many lines. No braces style is good for the planet. /s

4

u/frtox Apr 10 '14

i cant stand gitub code review comments, they take over the screen. oh did you actually want to see what code was changed? no, no. you read comment now.

2

u/Grimoire Apr 10 '14

Uncheck the "show inline notes" option.