src/http/modules/ngx_http_referer_module.c:498: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned64 by call to `ngx_http_add_regex_referer`.

src/http/modules/ngx_http_referer_module.c:498:17: Call
496. 
497.         if (value[i].data[0] == '~') {
498.             if (ngx_http_add_regex_referer(cf, rlcf, &value[i]) != NGX_OK) {
                     ^
499.                 return NGX_CONF_ERROR;
500.             }

src/http/modules/ngx_http_referer_module.c:561:1: Parameter `name->len`
  559. 
  560. 
  561. static ngx_int_t
       ^
  562. ngx_http_add_regex_referer(ngx_conf_t *cf, ngx_http_referer_conf_t *rlcf,
  563.     ngx_str_t *name)

src/http/modules/ngx_http_referer_module.c:498:17: Call
496. 
497.         if (value[i].data[0] == '~') {
498.             if (ngx_http_add_regex_referer(cf, rlcf, &value[i]) != NGX_OK) {
                     ^
499.                 return NGX_CONF_ERROR;
500.             }

src/http/modules/ngx_http_referer_module.c:561:1: <LHS trace>
559. 
560. 
561. static ngx_int_t
     ^
562. ngx_http_add_regex_referer(ngx_conf_t *cf, ngx_http_referer_conf_t *rlcf,
563.     ngx_str_t *name)

src/http/modules/ngx_http_referer_module.c:561:1: Parameter `name->len`
  559. 
  560. 
  561. static ngx_int_t
       ^
  562. ngx_http_add_regex_referer(ngx_conf_t *cf, ngx_http_referer_conf_t *rlcf,
  563.     ngx_str_t *name)

src/http/modules/ngx_http_referer_module.c:587:5: Binary operation: ([0, +oo] - 1):unsigned64 by call to `ngx_http_add_regex_referer` 
  585.     }
  586. 
  587.     name->len--;
           ^
  588.     name->data++;
  589. 
