If blocks without curly braces ಠ_ಠ
and goto statements everywhere :S
Apple's SSL/TLS bug
11–20 of 295 posts
Re: Apple's SSL/TLS bug
#12Any theories on how this got committed and merged?
Re: Apple's SSL/TLS bug
#13If blocks without curly braces ಠ_ಠ
This is a perfect example of just how bad that suggestion is, and just how disastrous it can be. It's totally worth typing a few extra characters here and there to basically avoid these kind of situations completely.
Re: Apple's SSL/TLS bug
#14If blocks without curly braces ಠ_ಠ
I cringe whenever I hear people advocating that it's okay to avoid braces with single-statement conditionals/loops/etc. This is a perfect example of just how bad that suggestion is, and just how disastrous it can be. It's totally worth typing a few extra characters here and there to basically avoid these kind of situations completely.
This also applies to the "JS without ;" crowd.
You may think you're too good to know all the rules of ; or you can just don't think about it, and worry about other things instead, like your code.
Re: Apple's SSL/TLS bug
#15If the code was closed all we would have is Apple's release note which just says validation steps were skipped...
Re: Apple's SSL/TLS bug
#16Re: Apple's SSL/TLS bug
#17If blocks without curly braces ಠ_ಠ
I cringe whenever I hear people advocating that it's okay to avoid braces with single-statement conditionals/loops/etc. This is a perfect example of just how bad that suggestion is, and just how disastrous it can be. It's totally worth typing a few extra characters here and there to basically avoid these kind of situations completely.
Re: Apple's SSL/TLS bug
#18Interesting. Never thought about it that way before.
Re: Apple's SSL/TLS bug
#19It's interesting watching all the speculation about "was it a backdoor, or just a bug?" Lots of points in favor or against: 1) It's a huge compromise, and "open" to anyone to exploit, which would ultimately get caught and fixed faster. But it's also not targeting anything specific, so there's less of a signature of the attacker. 2) Incredibly simple, and thus a plausible mistake. 3) Hidden in plain sight I'd generall…
This might explain DROPOUTJEEP particularly considering how much more efficient it is than breaking messages after they are encrypted.
http://mobile.eweek.com/security/nsa-spying-on-apple-iphones...
Re: Apple's SSL/TLS bug
#20If blocks without curly braces ಠ_ಠ