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


ssl/statem/statem_srvr.c:882:1: Parameter `s->initial_ctx->sessions->num_items`
880.   }
881.   
882. > MSG_PROCESS_RETURN tls_process_client_hello(SSL *s, PACKET *pkt)
883.   {
884.       int i, al = SSL_AD_INTERNAL_ERROR;

ssl/statem/statem_srvr.c:1209:14: Call
1207.       /* TLS extensions */
1208.       if (s->version >= SSL3_VERSION) {
1209.           if (!ssl_parse_clienthello_tlsext(s, &extensions)) {
                     ^
1210.               SSLerr(SSL_F_TLS_PROCESS_CLIENT_HELLO, SSL_R_PARSE_TLSEXT);
1211.               goto err;

ssl/t1_lib.c:2210:1: Parameter `s->initial_ctx->sessions->num_items`
  2208.   }
  2209.   
  2210. > int ssl_parse_clienthello_tlsext(SSL *s, PACKET *pkt)
  2211.   {
  2212.       int al = -1;

ssl/t1_lib.c:2215:9: Call
  2213.       custom_ext_init(&s->cert->srv_ext);
  2214.       if (ssl_scan_clienthello_tlsext(s, pkt, &al) <= 0) {
  2215.           ssl3_send_alert(s, SSL3_AL_FATAL, al);
                  ^
  2216.           return 0;
  2217.       }

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

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

ssl/ssl_sess.c:691:1: Parameter `ctx->sessions->num_items`
      689.   }
      690.   
      691. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      692.   {
      693.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:693:12: Call
      691.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      692.   {
      693.       return remove_session_lock(ctx, c, 1);
                        ^
      694.   }
      695.   

ssl/ssl_sess.c:696:1: Parameter `ctx->sessions->num_items`
        694.   }
        695.   
        696. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        697.   {
        698.       SSL_SESSION *r;

ssl/ssl_sess.c:706:17: Call
        704.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
        705.               ret = 1;
        706.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                               ^
        707.               SSL_SESSION_list_remove(ctx, c);
        708.           }

ssl/ssl_locl.h:581:1: Parameter `lh->num_items`
          579.   };
          580.   
          581. > DEFINE_LHASH_OF(SSL_SESSION);
          582.   /* Needed in ssl_cert.c */
          583.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:581:1: Call
          579.   };
          580.   
          581. > DEFINE_LHASH_OF(SSL_SESSION);
          582.   /* Needed in ssl_cert.c */
          583.   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, 1+max(0, s->initial_ctx->sessions->num_items)] - 1):unsigned64 by call to `ssl_parse_clienthello_tlsext` 
            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)))
