Draco replied with "yes" before he truly realized what the commitment meant. All he knew was that Hermione was in trouble, and if yes meant he could keep her safe, then it would be undoubtedly, assuredly, indubitably, yes. 