src/http/ngx_http_upstream.c:993: error: Buffer Overrun S2
  Offset: [`ngx_current_msec`, +oo] Size: [0, +oo] by call to `ngx_http_upstream_connect`.

src/http/ngx_http_upstream.c:931:1: Global `ngx_current_msec`
929. 
930. 
931. static void
     ^
932. ngx_http_upstream_resolve_handler(ngx_resolver_ctx_t *ctx)
933. {

src/http/ngx_http_upstream.c:985:5: Assignment
983.     ur->ctx = NULL;
984. 
985.     u->peer.start_time = ngx_current_msec;
         ^
986. 
987.     if (u->conf->next_upstream_tries

src/http/ngx_http_upstream.c:993:5: Call
991.     }
992. 
993.     ngx_http_upstream_connect(r, u);
         ^
994. 
995. failed:

src/http/ngx_http_upstream.c:1236:1: Parameter `r->http_connection->nfree`
  1234. 
  1235. 
  1236. static void
        ^
  1237. ngx_http_upstream_connect(ngx_http_request_t *r, ngx_http_upstream_t *u)
  1238. {

src/http/ngx_http_upstream.c:1253:9: Call
  1251.     u->state = ngx_array_push(r->upstream_states);
  1252.     if (u->state == NULL) {
  1253.         ngx_http_upstream_finalize_request(r, u,
                ^
  1254.                                            NGX_HTTP_INTERNAL_SERVER_ERROR);
  1255.         return;

src/http/ngx_http_upstream.c:3658:1: Parameter `r->http_connection->nfree`
    3656. 
    3657. 
    3658. static void
          ^
    3659. ngx_http_upstream_finalize_request(ngx_http_request_t *r,
    3660.     ngx_http_upstream_t *u, ngx_int_t rc)

src/http/ngx_http_upstream.c:3785:9: Call
    3783.         || rc == NGX_HTTP_CLIENT_CLOSED_REQUEST)
    3784.     {
    3785.         ngx_http_finalize_request(r, rc);
                  ^
    3786.         return;
    3787.     }

src/http/ngx_http_request.c:2252:1: Parameter `r->http_connection->nfree`
      2250. 
      2251. 
      2252. void
            ^
      2253. ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc)
      2254. {

src/http/ngx_http_request.c:2437:5: Call
      2435.     }
      2436. 
      2437.     ngx_http_finalize_connection(r);
                ^
      2438. }
      2439. 

src/http/ngx_http_request.c:2501:1: Parameter `r->http_connection->nfree`
        2499. 
        2500. 
        2501. static void
              ^
        2502. ngx_http_finalize_connection(ngx_http_request_t *r)
        2503. {

src/http/ngx_http_request.c:2536:9: Call
        2534.          && clcf->keepalive_timeout > 0)
        2535.     {
        2536.         ngx_http_set_keepalive(r);
                      ^
        2537.         return;
        2538.     }

src/http/ngx_http_request.c:2827:1: <Offset trace>
2825. 
2826. 
2827. static void
      ^
2828. ngx_http_set_keepalive(ngx_http_request_t *r)
2829. {

src/http/ngx_http_request.c:2827:1: Parameter `r->http_connection->nfree`
          2825. 
          2826. 
          2827. static void
                ^
          2828. ngx_http_set_keepalive(ngx_http_request_t *r)
          2829. {

src/http/ngx_http_request.c:2827:1: <Length trace>
2825. 
2826. 
2827. static void
      ^
2828. ngx_http_set_keepalive(ngx_http_request_t *r)
2829. {

src/http/ngx_http_request.c:2827:1: Parameter `*r->http_connection->free`
          2825. 
          2826. 
          2827. static void
                ^
          2828. ngx_http_set_keepalive(ngx_http_request_t *r)
          2829. {

src/http/ngx_http_request.c:2886:17: Array access: Offset: [ngx_current_msec, +oo] Size: [0, +oo] by call to `ngx_http_upstream_connect` 
          2884.             for (i = 0; i < hc->nbusy - 1; i++) {
          2885.                 f = hc->busy[i];
          2886.                 hc->free[hc->nfree++] = f;
                                ^
          2887.                 f->pos = f->start;
          2888.                 f->last = f->start;
