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


ssl/ssl_lib.c:613:1: Parameter `ctx->sessions->num_items`
611.   }
612.   
613. > SSL *SSL_new(SSL_CTX *ctx)
614.   {
615.       SSL *s;

ssl/ssl_lib.c:743:5: Call
741.       return (s);
742.    err:
743.       SSL_free(s);
           ^
744.       SSLerr(SSL_F_SSL_NEW, ERR_R_MALLOC_FAILURE);
745.       return (NULL);

ssl/ssl_lib.c:977:1: Parameter `s->ctx->sessions->num_items`
  975.   }
  976.   
  977. > void SSL_free(SSL *s)
  978.   {
  979.       int i;

ssl/ssl_lib.c:1021:9: Call
  1019.       /* Make the next call work :-) */
  1020.       if (s->session != NULL) {
  1021.           ssl_clear_bad_session(s);
                  ^
  1022.           SSL_SESSION_free(s->session);
  1023.       }

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

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

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

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

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

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

ssl/ssl_locl.h:694:1: Parameter `lh->num_items`
          692.   };
          693.   
          694. > DEFINE_LHASH_OF(SSL_SESSION);
          695.   
          696.   

ssl/ssl_locl.h:694:1: Call
          692.   };
          693.   
          694. > DEFINE_LHASH_OF(SSL_SESSION);
          695.   
          696.   

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, max(0, ctx->sessions->num_items)] - 1):unsigned64 by call to `SSL_free` 
            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)))
