Re:Integer Overflow Bug in Boeing 787 Dreamliner
by tlb on Saturday May 02, 2015 @07:36AM
(#9476696)
Using this technique to compare the current time to engine start time would cause the exact problem described.
For example you time events at a fixed time interval, and it will keep going forever in spite of clock roll-over.
The timing events also need to be processed quickly enough of course (that printf shouldn't block for longer than about 2^31).