5 ms·
Apple's goto-related SSL vulnerability this week is a blatant, high-profile reminder of how harmful unbraced conditionals are. The same bug could have happened
by mrbrowning 13y ago
Apple's goto-related SSL vulnerability this week is a blatant, high-profile reminder of how harmful unbraced conditionals are. The same bug could have happened with two return statements in a row.
- bjz_ 13y agoI'm really thankful Rust does away with them. Static analysis can catch these things, but it should be prevented in the grammar from the start.
- dragontamer 13y agoAmen. Replace the "goto" with "Throw", "break", or "return", or any other construct, and you'd come up with the same problem.