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


ssl/statem/statem_srvr.c:3616:1: Parameter `s->session_ctx->sessions->num_items`
3614.   #endif
3615.   
3616. > static int tls_construct_encrypted_extensions(SSL *s, WPACKET *pkt)
3617.   {
3618.       int al;

ssl/statem/statem_srvr.c:3622:9: Call
3620.       if (!tls_construct_extensions(s, pkt, SSL_EXT_TLS1_3_ENCRYPTED_EXTENSIONS,
3621.                                     NULL, 0, &al)) {
3622.           ssl3_send_alert(s, SSL3_AL_FATAL, al);
                ^
3623.           SSLerr(SSL_F_TLS_CONSTRUCT_ENCRYPTED_EXTENSIONS, ERR_R_INTERNAL_ERROR);
3624.           ssl3_send_alert(s, SSL3_AL_FATAL, al);

ssl/s3_msg.c:63:1: Parameter `s->session_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/statem/statem_srvr.c:3624:9: Call
3622.           ssl3_send_alert(s, SSL3_AL_FATAL, al);
3623.           SSLerr(SSL_F_TLS_CONSTRUCT_ENCRYPTED_EXTENSIONS, ERR_R_INTERNAL_ERROR);
3624.           ssl3_send_alert(s, SSL3_AL_FATAL, al);
                ^
3625.           return 0;
3626.       }

ssl/s3_msg.c:63:1: Parameter `s->session_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:77:9: Call
  75.       /* If a fatal one, remove from cache */
  76.       if ((level == SSL3_AL_FATAL) && (s->session != NULL))
  77.           SSL_CTX_remove_session(s->session_ctx, s->session);
                ^
  78.   
  79.       s->s3->alert_dispatch = 1;

ssl/ssl_sess.c:725:1: Parameter `ctx->sessions->num_items`
    723.   }
    724.   
    725. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
    726.   {
    727.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:727:12: Call
    725.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
    726.   {
    727.       return remove_session_lock(ctx, c, 1);
                      ^
    728.   }
    729.   

ssl/ssl_sess.c:730:1: Parameter `ctx->sessions->num_items`
      728.   }
      729.   
      730. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
      731.   {
      732.       SSL_SESSION *r;

ssl/ssl_sess.c:740:17: Call
      738.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
      739.               ret = 1;
      740.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                             ^
      741.               SSL_SESSION_list_remove(ctx, c);
      742.           }

ssl/ssl_locl.h:721:1: Parameter `lh->num_items`
        719.   } TLSEXT_INDEX;
        720.   
        721. > DEFINE_LHASH_OF(SSL_SESSION);
        722.   /* Needed in ssl_cert.c */
        723.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:721:1: Call
        719.   } TLSEXT_INDEX;
        720.   
        721. > DEFINE_LHASH_OF(SSL_SESSION);
        722.   /* Needed in ssl_cert.c */
        723.   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->session_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)))
