No offense, but a former owner of an animal CANNOT be held liable if the dog - now owned by someone else - bites another person. There is no need for 'waivers' or 'hold harmless' agreements either...
That being said, the dog in this case reacted because the child took its treat away - this...