(a) A surety on a bond given in an action or proceeding submits itself to the jurisdiction of the court in all matters affecting its liability on the bond.
(b) This section does not apply to a bond of a public officer or fiduciary.
(Added by Stats. 1982, Ch. 998, Sec. 1.)