Fortunately, the Washington Post has been covering this case and knows a good deal about it that the Justice Department is not disclosing. Matt Zapotosky [ Former CIA officer Jeffrey Sterling convicted in leak case, Washington Post, 26 January 2015] says it was a New York Times reporter, and he says, it was James Risen who used part of the material in a book, "State of War" published in 2006. Risen said he would not reveal his sources if he testified, but the prosecutors never asked him to testify, leaving the really big issue in this case unresolved. If Risen knew it would cause harm to the U.S. if he disclosed it, why did he?
Ex-CIA Sterling certainly knew he could not get away with giving classified information to Risen, but did Risen have a reason to not want to give up his sources? The exchanges went on for over 2 years. It would be hard for him to claim he didn't know it was classified information he was being given. You might read Gabriel Shoenfeld's "Journalism or Espionage?" at [http://www.nationalaffairs.com/publications/detail/journalism-or-espionage]. Also read the story of James Rosen of Fox News who was getting his information about North Korea from classified reports in the State Department.
Risen is not the only New York Times reporter to publish classified information that came into his possession. There will be others who have done the same thing. There have been a whole litenany of them since the Pentagon Papers, but nobody will address the central issue of the press publsihing things they know to be legitimately classified by the government. The whole world has this problem, but only a few countries have done anything about protecting their own information. The U.S. hasn't. We need an official secrets act to cover this kind of disclosure. It isn't about freedom of the press. It is about a laws that favor the publication of information that will do harm to the country, in the name of a free press.