The only time a gun is dangerous, whether in the air or on the ground, is when it is in the hands of someone who intends to use it in a criminal manner. If all crew and passengers were armed all the time the flights would be safer than they are now, since the vast majority (99.99999999%) of crew and passengers are on the airplane for only one reason: to fly.