Immunizing Your Software against a Defect Pandemic