Mistaken identity and hostile fire over enemy territory are among the many risks that pilots face in war zones around the world.