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


ssl/statem/statem_dtls.c:708:1: Parameter `s->initial_ctx->sessions->num_items`
706.   }
707.   
708. > static int dtls_get_reassembled_message(SSL *s, int *errtype, size_t *len)
709.   {
710.       unsigned char wire[DTLS1_HM_HEADER_LENGTH];

ssl/statem/statem_dtls.c:720:9: Call
718.    redo:
719.       /* see if we have the required fragment already */
720.       if (dtls1_retrieve_buffered_fragment(s, &frag_len)) {
               ^
721.           s->init_num = frag_len;
722.           *len = frag_len;

ssl/statem/statem_dtls.c:443:1: Parameter `s->initial_ctx->sessions->num_items`
  441.   }
  442.   
  443. > static int dtls1_retrieve_buffered_fragment(SSL *s, size_t *len)
  444.   {
  445.       /*-

ssl/statem/statem_dtls.c:497:9: Call
  495.           }
  496.   
  497.           ssl3_send_alert(s, SSL3_AL_FATAL, al);
                 ^
  498.           s->init_num = 0;
  499.           return 0;

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:698:1: Parameter `ctx->sessions->num_items`
      696.   }
      697.   
      698. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      699.   {
      700.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:700:12: Call
      698.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      699.   {
      700.       return remove_session_lock(ctx, c, 1);
                        ^
      701.   }
      702.   

ssl/ssl_sess.c:703:1: Parameter `ctx->sessions->num_items`
        701.   }
        702.   
        703. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        704.   {
        705.       SSL_SESSION *r;

ssl/ssl_sess.c:713:17: Call
        711.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
        712.               ret = 1;
        713.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                               ^
        714.               SSL_SESSION_list_remove(ctx, c);
        715.           }

ssl/ssl_locl.h:598:1: Parameter `lh->num_items`
          596.   };
          597.   
          598. > DEFINE_LHASH_OF(SSL_SESSION);
          599.   /* Needed in ssl_cert.c */
          600.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:598:1: Call
          596.   };
          597.   
          598. > DEFINE_LHASH_OF(SSL_SESSION);
          599.   /* Needed in ssl_cert.c */
          600.   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 `dtls1_retrieve_buffered_fragment` 
            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)))
