The 787 had three such bugs, in 2015 it was found out if the plane wasn't restarted once every 248 days (2^31 100ths of a second), the AC generation system would shut off, even mid-flight[0].
In 2016 it was found that if the plane wasn't restarted once every 22 days the 3 flight computers could reboot simultaneously, also in mid-flight[1].
In 2020 it was found that if it wasn't restarted at least every 51 days that the stale data monitoring system, and the stall and overspeed horns all stop operating[2].
Some A350s also had an uptime-dependent fault found in 2019[3].