Firms warned to set aside funds now for legal disputes