Family cat saves kid from attacking dog