News for hackers. Stuff that matters.
Re:Apple's SSL/TLS bug by laureny on Saturday February 22, 2014 @10:51AM (#7282395)
Any language that lets you omit braces for single statements is prone to this bug, which includes C++.
Re:Apple's SSL/TLS bug by hub_ on Saturday February 22, 2014 @11:10AM (#7282455)
Suggestion to clang and gcc developer: implement -Wmandatory-curly-braces

At least, short of making it mandatory it would at least signal bad style.

Re:Apple's SSL/TLS bug by nikbackm on Saturday February 22, 2014 @12:08PM (#7282667)
Well it was mostly a tongue-in-cheek comment (was thinking of yesterday's C++ exception topic), but essentially true as you would not have used the "if + goto" with C++ error handling. Of course you can write the same bug (and more) in C++ too.