Article 134 of the Uniform Code of Military Justice is a catch-all provision that is referred to as a general article for offences not covered under other sections of military law, reports Wikipedia. The code is sometimes referred to as the devil's article.
Court-martial proceedings have been brought against military personal under Article 134 for offences including "bribery, disloyal statements, certain firearms charges, indecent exposure, impersonating an officer, kidnapping, obstructing justice, violation of parole, carrying a concealed weapon and many more," reports The Law Offices of Haytham Faraj. OutServe-SLDN reports that gay service members have been court-martialed and served time in military prison for participating in same-sex relations. Article 134 was added to the UCMJ in 1951.