by harry8 · 12y ago · 0 comments
if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0)
goto fail;
goto fail;
Compulsory bracing of blocks following if/while etc is a piece of syntax Perl got 100% right. Python also got it right in a different way with whitespace.C and C++ really don't have an excuse for not MANDATING compiler warnings at a minimum. The use of lack of bracing is "I'm too lazy and much too cool to type 2 characters." This is major fuckup number 4,294,967,294 So that muppets who keep claiming "We need backwards compatibility with brittle and broken code." Should probably spend about a decade in the room full of mirrors HAVING A GOOD LONG, HARD LOOK AT THEMSELVES. (Caps used advisedly, in this case, we need to do a bit of yelling at these standards committee weenies refusing to, you know, fix the damn bugs in the standard).
Edit to point out this how how the NSA MITM'd you when you were using OSX, in case you missed what the file is too.
Yes, I and many others seem to have missed it. That is a legitimate bug.
I think the post title should highlight this issue. Now it seems like it's just a "goto is bad but apple uses it anyway" post without much point.
Whoa, that was entirely unclear from the submission that this was the point. But then, I guess I still don't see what is the point. Why post this here and not file a bug or something?
http://support.apple.com/kb/HT6147
Reported Nov 28th (!):