ssl/statem/statem_srvr.c:3646: 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:3638:1: Parameter `s->session_ctx->sessions->num_items`
3636.   #endif
3637.   
3638. > static int tls_construct_encrypted_extensions(SSL *s, WPACKET *pkt)
3639.   {
3640.       int al;

ssl/statem/statem_srvr.c:3644:9: Call
3642.       if (!tls_construct_extensions(s, pkt, SSL_EXT_TLS1_3_ENCRYPTED_EXTENSIONS,
3643.                                     NULL, 0, &al)) {
3644.           ssl3_send_alert(s, SSL3_AL_FATAL, al);
                ^
3645.           SSLerr(SSL_F_TLS_CONSTRUCT_ENCRYPTED_EXTENSIONS, ERR_R_INTERNAL_ERROR);
3646.           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:3646:9: Call
3644.           ssl3_send_alert(s, SSL3_AL_FATAL, al);
3645.           SSLerr(SSL_F_TLS_CONSTRUCT_ENCRYPTED_EXTENSIONS, ERR_R_INTERNAL_ERROR);
3646.           ssl3_send_alert(s, SSL3_AL_FATAL, al);
                ^
3647.           return 0;
3648.       }

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:689:1: Parameter `lh->num_items`
        687.   } CLIENTHELLO_MSG;
        688.   
        689. > DEFINE_LHASH_OF(SSL_SESSION);
        690.   /* Needed in ssl_cert.c */
        691.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:689:1: Call
        687.   } CLIENTHELLO_MSG;
        688.   
        689. > DEFINE_LHASH_OF(SSL_SESSION);
        690.   /* Needed in ssl_cert.c */
        691.   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)))
