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


ssl/statem/statem.c:518:1: Parameter `s->ctx->sessions->num_items`
516.    * will resume in the same state where we left off.
517.    */
518. > static SUB_STATE_RETURN read_state_machine(SSL *s) {
519.       OSSL_STATEM *st = &s->statem;
520.       int ret, mt;

ssl/statem/statem.c:559:23: Call
557.                   ret = dtls_get_message(s, &mt, &len);
558.               } else {
559.                   ret = tls_get_message_header(s, &mt);
                             ^
560.               }
561.   

ssl/statem/statem_lib.c:439:1: Parameter `s->ctx->sessions->num_items`
  437.   }
  438.   
  439. > int tls_get_message_header(SSL *s, int *mt)
  440.   {
  441.       /* s->init_num < SSL3_HM_HEADER_LENGTH */

ssl/statem/statem_lib.c:533:5: Call
  531.       return 1;
  532.    f_err:
  533.       ssl3_send_alert(s, SSL3_AL_FATAL, al);
             ^
  534.    err:
  535.       return 0;

ssl/s3_msg.c:165:1: Parameter `s->ctx->sessions->num_items`
    163.   }
    164.   
    165. > int ssl3_send_alert(SSL *s, int level, int desc)
    166.   {
    167.       /* Map tls/ssl alert value to correct one */

ssl/s3_msg.c:176:9: Call
    174.       /* If a fatal one, remove from cache */
    175.       if ((level == SSL3_AL_FATAL) && (s->session != NULL))
    176.           SSL_CTX_remove_session(s->ctx, s->session);
                   ^
    177.   
    178.       s->s3->alert_dispatch = 1;

ssl/ssl_sess.c:776:1: Parameter `ctx->sessions->num_items`
      774.   }
      775.   
      776. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      777.   {
      778.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:778:12: Call
      776.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      777.   {
      778.       return remove_session_lock(ctx, c, 1);
                        ^
      779.   }
      780.   

ssl/ssl_sess.c:781:1: Parameter `ctx->sessions->num_items`
        779.   }
        780.   
        781. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        782.   {
        783.       SSL_SESSION *r;

ssl/ssl_sess.c:791:17: Call
        789.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
        790.               ret = 1;
        791.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                               ^
        792.               SSL_SESSION_list_remove(ctx, c);
        793.           }

ssl/ssl_locl.h:681:1: Parameter `lh->num_items`
          679.   };
          680.   
          681. > DEFINE_LHASH_OF(SSL_SESSION);
          682.   /* Needed in ssl_cert.c */
          683.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:681:1: Call
          679.   };
          680.   
          681. > DEFINE_LHASH_OF(SSL_SESSION);
          682.   /* Needed in ssl_cert.c */
          683.   DEFINE_LHASH_OF(X509_NAME);

crypto/lhash/lhash.c:188:1: <LHS trace>
186.   }
187.   
188. > void *lh_delete(_LHASH *lh, const void *data)
189.   {
190.       unsigned long hash;

crypto/lhash/lhash.c:188:1: Parameter `lh->num_items`
            186.   }
            187.   
            188. > void *lh_delete(_LHASH *lh, const void *data)
            189.   {
            190.       unsigned long hash;

crypto/lhash/lhash.c:208:5: Binary operation: ([0, max(0, s->ctx->sessions->num_items)] - 1):unsigned64 by call to `tls_get_message_header` 
            206.       }
            207.   
            208.       lh->num_items--;
                       ^
            209.       if ((lh->num_nodes > MIN_NODES) &&
            210.           (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)))
