Litigation is an unfortunate reality for technological companies.