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


ssl/statem/statem_srvr.c:3490:1: Parameter `s->initial_ctx->sessions->num_items`
3488.   #endif
3489.   
3490. > static int tls_construct_encrypted_extensions(SSL *s, WPACKET *pkt)
3491.   {
3492.       int al;

ssl/statem/statem_srvr.c:3501:9: Call
3499.       if (!tls_construct_extensions(s, pkt, EXT_TLS1_3_ENCRYPTED_EXTENSIONS
3500.                                             | EXT_TLS1_3_CERTIFICATE, &al)) {
3501.           ssl3_send_alert(s, SSL3_AL_FATAL, al);
                ^
3502.           SSLerr(SSL_F_TLS_CONSTRUCT_ENCRYPTED_EXTENSIONS, ERR_R_INTERNAL_ERROR);
3503.           ssl3_send_alert(s, SSL3_AL_FATAL, al);

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/statem/statem_srvr.c:3503:9: Call
3501.           ssl3_send_alert(s, SSL3_AL_FATAL, al);
3502.           SSLerr(SSL_F_TLS_CONSTRUCT_ENCRYPTED_EXTENSIONS, ERR_R_INTERNAL_ERROR);
3503.           ssl3_send_alert(s, SSL3_AL_FATAL, al);
                ^
3504.           return 0;
3505.       }

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:605:1: Parameter `lh->num_items`
        603.   };
        604.   
        605. > DEFINE_LHASH_OF(SSL_SESSION);
        606.   /* Needed in ssl_cert.c */
        607.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:605:1: Call
        603.   };
        604.   
        605. > DEFINE_LHASH_OF(SSL_SESSION);
        606.   /* Needed in ssl_cert.c */
        607.   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)))
