Bystander fires shot to stop stabbing