(2) A sentence covered by this section is any sentence that includes:
(A) Confinement for more than six months; or
(B) Confinement for six months or less and a dishonorable or bad-conduct discharge or dismissal.
(b) In a case involving an accused who has dependents, the convening authority or other person acting under section sixty of this article may waive any or all of the forfeitures of pay and allowances required by subsection (a) for a period not to exceed six months. Any amount of pay or allowances that, except for a waiver under this subsection, would be forfeited shall be paid, as the convening authority or other person taking action directs, to the dependents of the accused.
(c) If the sentence of a member who forfeits pay and allowances under subsection (a) is set aside or disapproved or, as finally approved, does not provide for a punishment referred to in subdivision (2), subsection (a), the member shall be paid the pay and allowances which the member would have been paid, except for the forfeiture, for the period during which the forfeiture was in effect.