An attempt by the Middlesex County Prosecutor's Office to sanction a defense attorney sharing information about a police officer who gave false testimony in a drug case has ended in sanctions against the prosecutor's office instead.