News for hackers. Stuff that matters.
Re:An iOS zero-click radio proximity exploit odyssey by vlovich123 on Tuesday December 01, 2020 @05:54PM (#25271145)
Such bugs are extremely difficult to prevent at scale. Even the most talented engineers make such mistakes and programming quality varies significantly even within top engineering teams which are usually comprised of people with different skill sets (+ junior engineers that need training).

Safe languages are the only way forward to drastically reduce the problem. It can’t be guaranteed to be eliminated 100% obviously because there are still escape hatches available, but it will be significantly improved because you can limit the surface area where such bugs can live.

Re:An iOS zero-click radio proximity exploit odyssey by SulfurHexaFluri on Tuesday December 01, 2020 @06:01PM (#25271202)
Not sure if this is common for everyone but I find whenever I get assigned for a review for a monster change, I spend over an hour just working out what the change does and if it seems like it will work. There is no way I could spot tiny potential security exploits in 3000 lines of changed code.
Re:An iOS zero-click radio proximity exploit odyssey by Xenograph on Tuesday December 01, 2020 @07:01PM (#25271717)
Sending 3,000+ LoC code reviews is not considered good engineering practice. In general it's important to keep code reviews small for the reasons you describe. If it's impossible to make incremental changes in smaller units, that's a sign of an unhealthy code base.
Re:An iOS zero-click radio proximity exploit odyssey by HereBeBeasties on Wednesday December 02, 2020 @02:46AM (#25274097)
Although it is certainly challenging, you shouldn't spend only an hour reviewing a 3,000 LoC review, unless most of it is trivial refactoring, especially if that code is security-critical and handles untrusted input. That's only 1.2s per line of code. No chance you have good quality control with that amount of attention.

If it's taken someone a whole fortnight to write it, you should expect to spend at least half a day reviewing it, IMO.