The one line of code that led to catastrophe