ssl/d1_srvr.c:318: error: INTEGER_OVERFLOW_L2
  ([0, max(0, `s->ctx->sessions->num_items`)] - 1):unsigned64 by call to `ssl3_get_client_hello`.
Showing all 15 steps of the trace


ssl/d1_srvr.c:160:1: Parameter `s->ctx->sessions->num_items`
158.                             dtls1_get_server_method, DTLSv1_2_enc_data)
159.   
160. > int dtls1_accept(SSL *s)
161.   {
162.       BUF_MEM *buf;

ssl/d1_srvr.c:318:19: Call
316.   
317.               s->shutdown = 0;
318.               ret = ssl3_get_client_hello(s);
                         ^
319.               if (ret <= 0)
320.                   goto end;

ssl/s3_srvr.c:900:1: Parameter `s->ctx->sessions->num_items`
  898.   }
  899.   
  900. > int ssl3_get_client_hello(SSL *s)
  901.   {
  902.       int i, j, ok, al = SSL_AD_INTERNAL_ERROR, ret = -1;

ssl/s3_srvr.c:1192:14: Call
  1190.       /* TLS extensions */
  1191.       if (s->version >= SSL3_VERSION) {
  1192.           if (!ssl_parse_clienthello_tlsext(s, &p, d, n)) {
                       ^
  1193.               SSLerr(SSL_F_SSL3_GET_CLIENT_HELLO, SSL_R_PARSE_TLSEXT);
  1194.               goto err;

ssl/t1_lib.c:2402:1: Parameter `s->ctx->sessions->num_items`
    2400.   }
    2401.   
    2402. > int ssl_parse_clienthello_tlsext(SSL *s, unsigned char **p, unsigned char *d,
    2403.                                    int n)
    2404.   {

ssl/t1_lib.c:2408:9: Call
    2406.       custom_ext_init(&s->cert->srv_ext);
    2407.       if (ssl_scan_clienthello_tlsext(s, p, d, n, &al) <= 0) {
    2408.           ssl3_send_alert(s, SSL3_AL_FATAL, al);
                    ^
    2409.           return 0;
    2410.       }

ssl/s3_pkt.c:1760:1: Parameter `s->ctx->sessions->num_items`
      1758.   }
      1759.   
      1760. > int ssl3_send_alert(SSL *s, int level, int desc)
      1761.   {
      1762.       /* Map tls/ssl alert value to correct one */

ssl/s3_pkt.c:1771:9: Call
      1769.       /* If a fatal one, remove from cache */
      1770.       if ((level == SSL3_AL_FATAL) && (s->session != NULL))
      1771.           SSL_CTX_remove_session(s->ctx, s->session);
                      ^
      1772.   
      1773.       s->s3->alert_dispatch = 1;

ssl/ssl_sess.c:673:1: Parameter `ctx->sessions->num_items`
        671.   }
        672.   
        673. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
        674.   {
        675.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:675:12: Call
        673.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
        674.   {
        675.       return remove_session_lock(ctx, c, 1);
                          ^
        676.   }
        677.   

ssl/ssl_sess.c:678:1: Parameter `ctx->sessions->num_items`
          676.   }
          677.   
          678. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
          679.   {
          680.       SSL_SESSION *r;

ssl/ssl_sess.c:688:17: Call
          686.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
          687.               ret = 1;
          688.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                                 ^
          689.               SSL_SESSION_list_remove(ctx, c);
          690.           }

crypto/lhash/lhash.c:213:1: <LHS trace>
211.   }
212.   
213. > void *lh_delete(_LHASH *lh, const void *data)
214.   {
215.       unsigned long hash;

crypto/lhash/lhash.c:213:1: Parameter `lh->num_items`
            211.   }
            212.   
            213. > void *lh_delete(_LHASH *lh, const void *data)
            214.   {
            215.       unsigned long hash;

crypto/lhash/lhash.c:233:5: Binary operation: ([0, max(0, s->ctx->sessions->num_items)] - 1):unsigned64 by call to `ssl3_get_client_hello` 
            231.       }
            232.   
            233.       lh->num_items--;
                       ^
            234.       if ((lh->num_nodes > MIN_NODES) &&
            235.           (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)))
