Error in host specification

/**
 * @brief Default maximum number of hosts a target may specify.
 */
#define MANAGE_MAX_HOSTS 4095

/**
 * @brief Default maximum number of hosts a user host access may specify.
 */
#define MANAGE_USER_MAX_HOSTS 16777216

The flow of function [create_target]

                --------------------------------------------------
                |              create_target                     |
                |        (Error in host specification)           |
                --------------------------------------------------
                                     |
                                     |
                  ---------------------------------------------
                  | manage_count_hosts (clean, clean_exclude) |
                  ---------------------------------------------
                                     |
                                     |
                      ------------------------------------
                      | manage_count_hosts_max (         |
                      |    given_hosts,                  |
                      |    exclude_hosts,                |
                      |    manage_max_hosts ());         |
                      ------------------------------------
                                    |
                                    |
               ---------------------------------------------------------
               |                                                       |
               |                                                       |
-----------------------------------                           -----------------------
| manage_count_hosts_max (        |                           |  manage_max_hosts() |
|     const char *given_hosts,    |                           -----------------------
|     const char *exclude_hosts,  |                                   |
|    int max_hosts)               |                                   |
-----------------------------------                  ---------------------------------------------
     |                                               | max_hosts = MANAGE_MAX_HOSTS (val: 4096)  |
     |                                               ---------------------------------------------
------------------------------
| gvm_hosts_new_with_max (   |
|    given_hosts,            |
|    max_hosts)              |
------------------------------