View Single Post
  #3  
Old 03-04-2009, 14:39
emery
 
Posts: n/a
The simple compares only exist if the author wrote their code in this fashion

poor, but basic example:

global registered = false; //reference throughout code

doSerialCheck(){
.....
if(all_checks_passed) registered = true;

}

If for instance a hash is always compared or some other method is used then this simple move-and-compare-boolean check no longer really exists. Granted you can typically always reduce a patch to something very small or similar in nature but I think you see my point.

Cheers
Reply With Quote
The Following User Gave Reputation+1 to For This Useful Post: