Wilson Sonsini Goodrich & Rosati has avoided a malpractice trial that was to begin Monday by quietly settling during a marathon negotiation session last week.

Terms of the firm’s settlement with three entrepreneurs — who alleged missteps by former Wilson Sonsini lawyers and solo practitioner George Eshoo cost them more than $5 million — are confidential.