A380 incident could have turned into catastrophe