Dog attacks four-year-old boy