ssl/statem/statem_clnt.c:1999: error: INTEGER_OVERFLOW_L2
  ([0, max(0, `s->initial_ctx->sessions->num_items`)] - 1):unsigned64 by call to `ssl3_send_alert`.
Showing all 13 steps of the trace


ssl/statem/statem_clnt.c:1825:1: Parameter `s->initial_ctx->sessions->num_items`
1823.   }
1824.   
1825. > MSG_PROCESS_RETURN tls_process_key_exchange(SSL *s, PACKET *pkt)
1826.   {
1827.       int al = -1, ispss = 0;

ssl/statem/statem_clnt.c:1999:9: Call
1997.    err:
1998.       if (al != -1)
1999.           ssl3_send_alert(s, SSL3_AL_FATAL, al);
                ^
2000.       ossl_statem_set_error(s);
2001.       EVP_MD_CTX_free(md_ctx);

ssl/s3_msg.c:63:1: Parameter `s->initial_ctx->sessions->num_items`
  61.   }
  62.   
  63. > int ssl3_send_alert(SSL *s, int level, int desc)
  64.   {
  65.       /* Map tls/ssl alert value to correct one */

ssl/s3_msg.c:74:9: Call
  72.       /* If a fatal one, remove from cache */
  73.       if ((level == SSL3_AL_FATAL) && (s->session != NULL))
  74.           SSL_CTX_remove_session(s->session_ctx, s->session);
                ^
  75.   
  76.       s->s3->alert_dispatch = 1;

ssl/ssl_sess.c:715:1: Parameter `ctx->sessions->num_items`
    713.   }
    714.   
    715. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
    716.   {
    717.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:717:12: Call
    715.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
    716.   {
    717.       return remove_session_lock(ctx, c, 1);
                      ^
    718.   }
    719.   

ssl/ssl_sess.c:720:1: Parameter `ctx->sessions->num_items`
      718.   }
      719.   
      720. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
      721.   {
      722.       SSL_SESSION *r;

ssl/ssl_sess.c:730:17: Call
      728.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
      729.               ret = 1;
      730.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                             ^
      731.               SSL_SESSION_list_remove(ctx, c);
      732.           }

ssl/ssl_locl.h:608:1: Parameter `lh->num_items`
        606.   };
        607.   
        608. > DEFINE_LHASH_OF(SSL_SESSION);
        609.   /* Needed in ssl_cert.c */
        610.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:608:1: Call
        606.   };
        607.   
        608. > DEFINE_LHASH_OF(SSL_SESSION);
        609.   /* Needed in ssl_cert.c */
        610.   DEFINE_LHASH_OF(X509_NAME);

crypto/lhash/lhash.c:103:1: <LHS trace>
101.   }
102.   
103. > void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data)
104.   {
105.       unsigned long hash;

crypto/lhash/lhash.c:103:1: Parameter `lh->num_items`
          101.   }
          102.   
          103. > void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data)
          104.   {
          105.       unsigned long hash;

crypto/lhash/lhash.c:123:5: Binary operation: ([0, max(0, s->initial_ctx->sessions->num_items)] - 1):unsigned64 by call to `ssl3_send_alert` 
          121.       }
          122.   
          123.       lh->num_items--;
                     ^
          124.       if ((lh->num_nodes > MIN_NODES) &&
          125.           (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)))
