← Back to context Comment by spuz 1 month ago So what was the programming error in the TPM? 5 comments spuz Reply swinglock 1 month ago Something breaking after 49.7 days is a classic. Someone counted milliseconds since start with a 32 bit unsigned int and some code assumed it couldn't wrap. jcurtis 1 month ago 49 days is a bit under 2^32 milliseconds... So unsigned int overflow? blell 1 month ago https://news.ycombinator.com/item?id=28340101
swinglock 1 month ago Something breaking after 49.7 days is a classic. Someone counted milliseconds since start with a 32 bit unsigned int and some code assumed it couldn't wrap.
Something breaking after 49.7 days is a classic. Someone counted milliseconds since start with a 32 bit unsigned int and some code assumed it couldn't wrap.
49 days is a bit under 2^32 milliseconds... So unsigned int overflow?
https://news.ycombinator.com/item?id=28340101