ssl/ssl_sess.c:672: error: INTEGER_OVERFLOW_L2
  ([0, 1+max(0, `s->initial_ctx->sessions->num_items`)] - 1):unsigned64 by call to `SSL_CTX_remove_session`.
Showing all 9 steps of the trace


ssl/ssl_sess.c:529:1: Parameter `s->initial_ctx->sessions->num_items`
527.    *     if the server should issue a new session ticket (to 0 otherwise).
528.    */
529. > int ssl_get_prev_session(SSL *s, const PACKET *ext, const PACKET *session_id)
530.   {
531.       /* This is used only by servers. */

ssl/ssl_sess.c:672:13: Call
670.           if (try_session_cache) {
671.               /* session was from the cache, so remove it */
672.               SSL_CTX_remove_session(s->session_ctx, ret);
                   ^
673.           }
674.           goto err;

ssl/ssl_sess.c:771:1: Parameter `ctx->sessions->num_items`
  769.   }
  770.   
  771. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
  772.   {
  773.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:773:12: Call
  771.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
  772.   {
  773.       return remove_session_lock(ctx, c, 1);
                    ^
  774.   }
  775.   

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

ssl/ssl_sess.c:786:17: Call
    784.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
    785.               ret = 1;
    786.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                           ^
    787.               SSL_SESSION_list_remove(ctx, c);
    788.           }

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

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

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