Good question for JMM - what is the law for disclosing classified information?

I know it is murky since the 'Pentagon Papers' were released.