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


ssl/ssl_lib.c:267:1: Parameter `ctx->sessions->num_items`
265.   }
266.   
267. > SSL *SSL_new(SSL_CTX *ctx)
268.   {
269.       SSL *s;

ssl/ssl_lib.c:391:5: Call
389.       return (s);
390.    err:
391.       SSL_free(s);
           ^
392.       SSLerr(SSL_F_SSL_NEW, ERR_R_MALLOC_FAILURE);
393.       return (NULL);

ssl/ssl_lib.c:510:1: Parameter `s->ctx->sessions->num_items`
  508.   }
  509.   
  510. > void SSL_free(SSL *s)
  511.   {
  512.       int i;

ssl/ssl_lib.c:553:9: Call
  551.       /* Make the next call work :-) */
  552.       if (s->session != NULL) {
  553.           ssl_clear_bad_session(s);
                 ^
  554.           SSL_SESSION_free(s->session);
  555.       }

ssl/ssl_sess.c:1086:1: Parameter `s->ctx->sessions->num_items`
    1084.   }
    1085.   
    1086. > int ssl_clear_bad_session(SSL *s)
    1087.   {
    1088.       if ((s->session != NULL) &&

ssl/ssl_sess.c:1091:9: Call
    1089.           !(s->shutdown & SSL_SENT_SHUTDOWN) &&
    1090.           !(SSL_in_init(s) || SSL_in_before(s))) {
    1091.           SSL_CTX_remove_session(s->ctx, s->session);
                    ^
    1092.           return (1);
    1093.       } else

ssl/ssl_sess.c:787:1: Parameter `ctx->sessions->num_items`
      785.   }
      786.   
      787. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      788.   {
      789.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:789:12: Call
      787.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      788.   {
      789.       return remove_session_lock(ctx, c, 1);
                        ^
      790.   }
      791.   

ssl/ssl_sess.c:792:1: Parameter `ctx->sessions->num_items`
        790.   }
        791.   
        792. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        793.   {
        794.       SSL_SESSION *r;

ssl/ssl_sess.c:802:17: Call
        800.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
        801.               ret = 1;
        802.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                               ^
        803.               SSL_SESSION_list_remove(ctx, c);
        804.           }

crypto/lhash/lhash.c:209:1: <LHS trace>
207.   }
208.   
209. > void *lh_delete(_LHASH *lh, const void *data)
210.   {
211.       unsigned long hash;

crypto/lhash/lhash.c:209:1: Parameter `lh->num_items`
          207.   }
          208.   
          209. > void *lh_delete(_LHASH *lh, const void *data)
          210.   {
          211.       unsigned long hash;

crypto/lhash/lhash.c:229:5: Binary operation: ([0, max(0, ctx->sessions->num_items)] - 1):unsigned64 by call to `SSL_free` 
          227.       }
          228.   
          229.       lh->num_items--;
                     ^
          230.       if ((lh->num_nodes > MIN_NODES) &&
          231.           (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)))
