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


ssl/d1_both.c:842:1: Parameter `s->ctx->sessions->num_items`
840.   }
841.   
842. > static long
843.   dtls1_get_message_fragment(SSL *s, int st1, int stn, long max, int *ok)
844.   {

ssl/d1_both.c:852:21: Call
850.    redo:
851.       /* see if we have the required fragment already */
852.       if ((frag_len = dtls1_retrieve_buffered_fragment(s, max, ok)) || *ok) {
                           ^
853.           if (*ok)
854.               s->init_num = frag_len;

ssl/d1_both.c:574:1: Parameter `s->ctx->sessions->num_items`
  572.   }
  573.   
  574. > static int dtls1_retrieve_buffered_fragment(SSL *s, long max, int *ok)
  575.   {
  576.       /*-

ssl/d1_both.c:618:9: Call
  616.           }
  617.   
  618.           ssl3_send_alert(s, SSL3_AL_FATAL, al);
                 ^
  619.           s->init_num = 0;
  620.           *ok = 0;

ssl/s3_pkt.c:1760:1: Parameter `s->ctx->sessions->num_items`
    1758.   }
    1759.   
    1760. > int ssl3_send_alert(SSL *s, int level, int desc)
    1761.   {
    1762.       /* Map tls/ssl alert value to correct one */

ssl/s3_pkt.c:1771:9: Call
    1769.       /* If a fatal one, remove from cache */
    1770.       if ((level == SSL3_AL_FATAL) && (s->session != NULL))
    1771.           SSL_CTX_remove_session(s->ctx, s->session);
                    ^
    1772.   
    1773.       s->s3->alert_dispatch = 1;

ssl/ssl_sess.c:673:1: Parameter `ctx->sessions->num_items`
      671.   }
      672.   
      673. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      674.   {
      675.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:675:12: Call
      673.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      674.   {
      675.       return remove_session_lock(ctx, c, 1);
                        ^
      676.   }
      677.   

ssl/ssl_sess.c:678:1: Parameter `ctx->sessions->num_items`
        676.   }
        677.   
        678. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        679.   {
        680.       SSL_SESSION *r;

ssl/ssl_sess.c:688:17: Call
        686.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
        687.               ret = 1;
        688.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                               ^
        689.               SSL_SESSION_list_remove(ctx, c);
        690.           }

crypto/lhash/lhash.c:213:1: <LHS trace>
211.   }
212.   
213. > void *lh_delete(_LHASH *lh, const void *data)
214.   {
215.       unsigned long hash;

crypto/lhash/lhash.c:213:1: Parameter `lh->num_items`
          211.   }
          212.   
          213. > void *lh_delete(_LHASH *lh, const void *data)
          214.   {
          215.       unsigned long hash;

crypto/lhash/lhash.c:233:5: Binary operation: ([0, max(0, s->ctx->sessions->num_items)] - 1):unsigned64 by call to `dtls1_retrieve_buffered_fragment` 
          231.       }
          232.   
          233.       lh->num_items--;
                     ^
          234.       if ((lh->num_nodes > MIN_NODES) &&
          235.           (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)))
