What does it mean to dream that a dog has attacked someone other than the dreamer?

This could mean several different things. The dog might represent the dreamer and express the dreamer's wish to attack someone (or something.) Alternatively, the dog could symbolize an issue or situation that feels threatening to the dreamer, who is represented by the other person in the dream.