src/http/ngx_http_upstream.c:1864: error: Integer Overflow L2
  ([0, `r->uri.len`] - 1):unsigned64 by call to `ngx_http_upstream_send_response`.

src/http/ngx_http_upstream.c:1723:1: Parameter `r->uri.len`
1721. 
1722. 
1723. static void
      ^
1724. ngx_http_upstream_process_header(ngx_http_request_t *r, ngx_http_upstream_t *u)
1725. {

src/http/ngx_http_upstream.c:1859:9: Call
1857.     }
1858. 
1859.     if (ngx_http_upstream_process_headers(r, u) != NGX_OK) {
              ^
1860.         return;
1861.     }

src/http/ngx_http_upstream.c:2123:1: Parameter `r->uri.len`
  2121. 
  2122. 
  2123. static ngx_int_t
        ^
  2124. ngx_http_upstream_process_headers(ngx_http_request_t *r, ngx_http_upstream_t *u)
  2125. {

src/http/ngx_http_upstream.c:1864:9: Call
1862. 
1863.     if (!r->subrequest_in_memory) {
1864.         ngx_http_upstream_send_response(r, u);
              ^
1865.         return;
1866.     }

src/http/ngx_http_upstream.c:2322:1: Parameter `r->uri.len`
  2320. 
  2321. 
  2322. static void
        ^
  2323. ngx_http_upstream_send_response(ngx_http_request_t *r, ngx_http_upstream_t *u)
  2324. {

src/http/ngx_http_upstream.c:2422:13: Call
  2420.             }
  2421. 
  2422.             ngx_http_upstream_process_non_buffered_downstream(r);
                    ^
  2423. 
  2424.         } else {

src/http/ngx_http_upstream.c:2902:1: Parameter `r->uri.len`
    2900. 
    2901. 
    2902. static void
          ^
    2903. ngx_http_upstream_process_non_buffered_downstream(ngx_http_request_t *r)
    2904. {

src/http/ngx_http_upstream.c:2925:5: Call
    2923.     }
    2924. 
    2925.     ngx_http_upstream_process_non_buffered_request(r, 1);
              ^
    2926. }
    2927. 

src/http/ngx_http_upstream.c:2952:1: Parameter `r->uri.len`
      2950. 
      2951. 
      2952. static void
            ^
      2953. ngx_http_upstream_process_non_buffered_request(ngx_http_request_t *r,
      2954.     ngx_uint_t do_write)

src/http/ngx_http_upstream.c:2993:21: Call
      2991.                     || (upstream->read->eof && u->length == -1))
      2992.                 {
      2993.                     ngx_http_upstream_finalize_request(r, u, 0);
                                ^
      2994.                     return;
      2995.                 }

src/http/ngx_http_upstream.c:3536:1: Parameter `r->uri.len`
        3534. 
        3535. 
        3536. static void
              ^
        3537. ngx_http_upstream_finalize_request(ngx_http_request_t *r,
        3538.     ngx_http_upstream_t *u, ngx_int_t rc)

src/http/ngx_http_upstream.c:3663:9: Call
        3661.         || rc == NGX_HTTP_CLIENT_CLOSED_REQUEST)
        3662.     {
        3663.         ngx_http_finalize_request(r, rc);
                      ^
        3664.         return;
        3665.     }

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

src/http/ngx_http_request.c:2323:38: Call
          2321.         c->write->handler = ngx_http_request_handler;
          2322. 
          2323.         ngx_http_finalize_request(r, ngx_http_special_response_handler(r, rc));
                                                     ^
          2324.         return;
          2325.     }

src/http/ngx_http_special_response.c:365:1: Parameter `r->uri.len`
            363. 
            364. 
            365. ngx_int_t
                 ^
            366. ngx_http_special_response_handler(ngx_http_request_t *r, ngx_int_t error)
            367. {

src/http/ngx_http_special_response.c:416:24: Call
            414.         for (i = 0; i < clcf->error_pages->nelts; i++) {
            415.             if (err_page[i].status == error) {
            416.                 return ngx_http_send_error_page(r, &err_page[i]);
                                        ^
            417.             }
            418.         }

src/http/ngx_http_special_response.c:534:1: Parameter `r->uri.len`
              532. 
              533. 
              534. static ngx_int_t
                   ^
              535. ngx_http_send_error_page(ngx_http_request_t *r, ngx_http_err_page_t *err_page)
              536. {

src/http/ngx_http_special_response.c:570:16: Call
              568.         }
              569. 
              570.         return ngx_http_internal_redirect(r, &uri, &args);
                                  ^
              571.     }
              572. 

src/http/ngx_http_core_module.c:2561:1: Parameter `r->uri.len`
                2559. 
                2560. 
                2561. ngx_int_t
                      ^
                2562. ngx_http_internal_redirect(ngx_http_request_t *r,
                2563.     ngx_str_t *uri, ngx_str_t *args)

src/http/ngx_http_core_module.c:2591:5: Call
                2589.                    "internal redirect: \"%V?%V\"", uri, &r->args);
                2590. 
                2591.     ngx_http_set_exten(r);
                          ^
                2592. 
                2593.     /* clear the modules contexts */

src/http/ngx_http_core_module.c:1797:1: <LHS trace>
1795. 
1796. 
1797. void
      ^
1798. ngx_http_set_exten(ngx_http_request_t *r)
1799. {

src/http/ngx_http_core_module.c:1797:1: Parameter `r->uri.len`
                  1795. 
                  1796. 
                  1797. void
                        ^
                  1798. ngx_http_set_exten(ngx_http_request_t *r)
                  1799. {

src/http/ngx_http_core_module.c:1804:10: Binary operation: ([0, r->uri.len] - 1):unsigned64 by call to `ngx_http_upstream_send_response` 
                  1802.     ngx_str_null(&r->exten);
                  1803. 
                  1804.     for (i = r->uri.len - 1; i > 1; i--) {
                                 ^
                  1805.         if (r->uri.data[i] == '.' && r->uri.data[i - 1] != '/') {
                  1806. 
