The Code Error That Cost $500 Million

The Ariane 5's maiden flight failed due to an integer overflow when converting a 64-bit horizontal velocity value to a 16-bit signed integer, a piece of code reused from Ariane 4. This caused the Inertial Reference System to fail and send diagnostic data misinterpreted as flight commands, leading to self-destruction 37 seconds after launch.

Sources

Open the full topic