News for hackers. Stuff that matters.
Re:The dangers of resetting everything at once by flashman on Monday May 04, 2015 @01:18AM (#9484446)
Considering Boeing said no airframes even came close to 248 days uptime, I would consider this a non-issue.
Re:The dangers of resetting everything at once by kens on Monday May 04, 2015 @02:14AM (#9484593)
Also, the affected planes are now required by law to have power deactivated at an interval of no more than 120 days, so they will never get anywhere near 248 days. https://www.federalregister.gov/articles/2015/05/01/2015-100...
Re:The dangers of resetting everything at once by brudgers on Monday May 04, 2015 @02:51PM (#9488225)
I suspect that the Federal Regulations also requires the planes not to fail at 248 days (or words to that effect). Specifications are not the thing specified.
Re:The dangers of resetting everything at once by Silhouette on Monday May 04, 2015 @02:26PM (#9488048)
The problem isn't necessarily that specific issue, because now that it's known, practical measures can be taken to compensate for the risk.

The problem is that the existence of that one issue demonstrates a serious failure in the tools and development processes and quality checks used to create the control software. There could therefore be other issues in the code that haven't been found yet that could cause similarly catastrophic failures.

Failing to reliably identify this kind of arithmetic error is a huge deal when you're working with high-reliability software. It simply shouldn't happen, and there should have been several different stages in the development process that would have prevented it.

So, the development team should have the book thrown at them until someone figures out exactly how it did happen, closes every related tool and process loophole so it can never happen again, and audits all potentially affected code to make sure the same combination of loopholes hasn't allowed any similar mistakes into production elsewhere in the system.

Re:The dangers of resetting everything at once by kwhitefoot on Monday May 04, 2015 @01:44PM (#9487713)
It is an issue because it suggests that both code and requirements were not adequately reviewed. Unless the requirements explicitly stated that the generators would never run for more that 2^31 x 100th of second allowing that counter to overflow without coping properly with it is a failure.

I have some production code that uses ints as serial numbers with a factory method that just hands out the next one in sequence, however, I take care to ensure that there will be no negative consequences if they roll over (they exist only in debug builds).