src/http/ngx_http_upstream.c:1209: 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:1142:1: Global `ngx_current_msec`
1140. 
1141. 
1142. static void
      ^
1143. ngx_http_upstream_resolve_handler(ngx_resolver_ctx_t *ctx)
1144. {

src/http/ngx_http_upstream.c:1201:5: Assignment
1199.     ur->ctx = NULL;
1200. 
1201.     u->peer.start_time = ngx_current_msec;
          ^
1202. 
1203.     if (u->conf->next_upstream_tries

src/http/ngx_http_upstream.c:1209:5: Call
1207.     }
1208. 
1209.     ngx_http_upstream_connect(r, u);
          ^
1210. 
1211. failed:

src/http/ngx_http_upstream.c:1454:1: Parameter `r->http_connection->nfree`
  1452. 
  1453. 
  1454. static void
        ^
  1455. ngx_http_upstream_connect(ngx_http_request_t *r, ngx_http_upstream_t *u)
  1456. {

src/http/ngx_http_upstream.c:1468:9: Call
  1466.     u->state = ngx_array_push(r->upstream_states);
  1467.     if (u->state == NULL) {
  1468.         ngx_http_upstream_finalize_request(r, u,
                ^
  1469.                                            NGX_HTTP_INTERNAL_SERVER_ERROR);
  1470.         return;

src/http/ngx_http_upstream.c:4249:1: Parameter `r->http_connection->nfree`
    4247. 
    4248. 
    4249. static void
          ^
    4250. ngx_http_upstream_finalize_request(ngx_http_request_t *r,
    4251.     ngx_http_upstream_t *u, ngx_int_t rc)

src/http/ngx_http_upstream.c:4260:9: Call
    4258.     if (u->cleanup == NULL) {
    4259.         /* the request was already finalized */
    4260.         ngx_http_finalize_request(r, NGX_DONE);
                  ^
    4261.         return;
    4262.     }

src/http/ngx_http_request.c:2263:1: Parameter `r->http_connection->nfree`
      2261. 
      2262. 
      2263. void
            ^
      2264. ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc)
      2265. {

src/http/ngx_http_request.c:2277:9: Call
      2275. 
      2276.     if (rc == NGX_DONE) {
      2277.         ngx_http_finalize_connection(r);
                    ^
      2278.         return;
      2279.     }

src/http/ngx_http_request.c:2511:1: Parameter `r->http_connection->nfree`
        2509. 
        2510. 
        2511. static void
              ^
        2512. ngx_http_finalize_connection(ngx_http_request_t *r)
        2513. {

src/http/ngx_http_request.c:2551:9: Call
        2549.          && clcf->keepalive_timeout > 0)
        2550.     {
        2551.         ngx_http_set_keepalive(r);
                      ^
        2552.         return;
        2553.     }

src/http/ngx_http_request.c:2834:1: <Offset trace>
2832. 
2833. 
2834. static void
      ^
2835. ngx_http_set_keepalive(ngx_http_request_t *r)
2836. {

src/http/ngx_http_request.c:2834:1: Parameter `r->http_connection->nfree`
          2832. 
          2833. 
          2834. static void
                ^
          2835. ngx_http_set_keepalive(ngx_http_request_t *r)
          2836. {

src/http/ngx_http_request.c:2834:1: <Length trace>
2832. 
2833. 
2834. static void
      ^
2835. ngx_http_set_keepalive(ngx_http_request_t *r)
2836. {

src/http/ngx_http_request.c:2834:1: Parameter `*r->http_connection->free`
          2832. 
          2833. 
          2834. static void
                ^
          2835. ngx_http_set_keepalive(ngx_http_request_t *r)
          2836. {

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