src/http/ngx_http_upstream.c:2181: error: Integer Overflow L2
  ([0, -1+max(1, `r->uri_changes`)] - 1):unsigned32 by call to `ngx_http_finalize_request`.

src/http/ngx_http_upstream.c:2123:1: Parameter `r->uri_changes`
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:2138:9: Call
2136.         && !(u->conf->ignore_headers & NGX_HTTP_UPSTREAM_IGN_XA_REDIRECT))
2137.     {
2138.         ngx_http_upstream_finalize_request(r, u, NGX_DECLINED);
              ^
2139. 
2140.         part = &u->headers_in.headers.part;

src/http/ngx_http_upstream.c:3536:1: Parameter `r->uri_changes`
  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:2180:9: Call
2178.         }
2179. 
2180.         ngx_http_internal_redirect(r, &uri, &args);
              ^
2181.         ngx_http_finalize_request(r, NGX_DONE);
2182.         return NGX_DONE;

src/http/ngx_http_core_module.c:2561:1: Parameter `r->uri_changes`
  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:2567:5: Assignment
  2565.     ngx_http_core_srv_conf_t  *cscf;
  2566. 
  2567.     r->uri_changes--;
            ^
  2568. 
  2569.     if (r->uri_changes == 0) {

src/http/ngx_http_upstream.c:2181:9: Call
2179. 
2180.         ngx_http_internal_redirect(r, &uri, &args);
2181.         ngx_http_finalize_request(r, NGX_DONE);
              ^
2182.         return NGX_DONE;
2183.     }

src/http/ngx_http_request.c:2251:1: Parameter `r->uri_changes`
  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:2289:13: Call
  2287.         || c->error)
  2288.     {
  2289.         if (ngx_http_post_action(r) == NGX_OK) {
                    ^
  2290.             return;
  2291.         }

src/http/ngx_http_request.c:3336:1: Parameter `r->uri_changes`
    3334. 
    3335. 
    3336. static ngx_int_t
          ^
    3337. ngx_http_post_action(ngx_http_request_t *r)
    3338. {

src/http/ngx_http_request.c:3363:9: Call
    3361. 
    3362.     if (clcf->post_action.data[0] == '/') {
    3363.         ngx_http_internal_redirect(r, &clcf->post_action, NULL);
                  ^
    3364. 
    3365.     } else {

src/http/ngx_http_core_module.c:2561:1: <LHS trace>
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:2561:1: Parameter `r->uri_changes`
      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:2567:5: Binary operation: ([0, -1+max(1, r->uri_changes)] - 1):unsigned32 by call to `ngx_http_finalize_request` 
      2565.     ngx_http_core_srv_conf_t  *cscf;
      2566. 
      2567.     r->uri_changes--;
                ^
      2568. 
      2569.     if (r->uri_changes == 0) {
