Tamed wolves only attack what you tell them to attack, except for creepers. Untame wolves will randomly attack sheep in the area.
"Good grief. You guys sure know how to make something out of nothing. And then take sides about whether or not it's nothing, and then change your minds and discuss why you thought it was something." - Kestra