One of the responding officers fired his weapon to stop the attack, striking at least one dog, police said.