Shooting a dog in the process of mauling an infant seems like it would be fraught with its own dangers. I’d prefer a knife for that situation.
I was thinking the same thing. Butcher knife, in the kitchen...readily available...through dog’s rib cage.