test/danetest.c:394: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned64 by call to `SSL_free`.
Showing all 20 steps of the trace


test/danetest.c:390:20: Call
388.           }
389.   
390.           if ((ssl = SSL_new(ctx)) == NULL)
                          ^
391.               return -1;
392.           SSL_set_connect_state(ssl);

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

test/danetest.c:425:9: Call
423.           /* Not needed any more, but lead by example and put the error back. */
424.           SSL_set_verify_result(ssl, err);
425.           SSL_free(ssl);
               ^
426.   
427.           if (ok < 0) {

ssl/ssl_lib.c:990:1: Parameter `s->ctx->sessions->num_items`
  988.   }
  989.   
  990. > void SSL_free(SSL *s)
  991.   {
  992.       int i;

test/danetest.c:390:20: Call
388.           }
389.   
390.           if ((ssl = SSL_new(ctx)) == NULL)
                          ^
391.               return -1;
392.           SSL_set_connect_state(ssl);

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

test/danetest.c:394:13: Call
392.           SSL_set_connect_state(ssl);
393.           if (SSL_dane_enable(ssl, basename) <= 0) {
394.               SSL_free(ssl);
                   ^
395.               return -1;
396.           }

ssl/ssl_lib.c:990:1: Parameter `s->ctx->sessions->num_items`
  988.   }
  989.   
  990. > void SSL_free(SSL *s)
  991.   {
  992.       int i;

ssl/ssl_lib.c:1034:9: Call
  1032.       /* Make the next call work :-) */
  1033.       if (s->session != NULL) {
  1034.           ssl_clear_bad_session(s);
                  ^
  1035.           SSL_SESSION_free(s->session);
  1036.       }

ssl/ssl_sess.c:1074:1: Parameter `s->ctx->sessions->num_items`
    1072.   }
    1073.   
    1074. > int ssl_clear_bad_session(SSL *s)
    1075.   {
    1076.       if ((s->session != NULL) &&

ssl/ssl_sess.c:1079:9: Call
    1077.           !(s->shutdown & SSL_SENT_SHUTDOWN) &&
    1078.           !(SSL_in_init(s) || SSL_in_before(s))) {
    1079.           SSL_CTX_remove_session(s->ctx, s->session);
                    ^
    1080.           return (1);
    1081.       } else

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

ssl/ssl_sess.c:778:12: Call
      776.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      777.   {
      778.       return remove_session_lock(ctx, c, 1);
                        ^
      779.   }
      780.   

ssl/ssl_sess.c:781:1: Parameter `ctx->sessions->num_items`
        779.   }
        780.   
        781. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        782.   {
        783.       SSL_SESSION *r;

ssl/ssl_sess.c:791:17: Call
        789.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
        790.               ret = 1;
        791.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                               ^
        792.               SSL_SESSION_list_remove(ctx, c);
        793.           }

ssl/ssl_locl.h:686:1: Parameter `lh->num_items`
          684.   };
          685.   
          686. > DEFINE_LHASH_OF(SSL_SESSION);
          687.   
          688.   

ssl/ssl_locl.h:686:1: Call
          684.   };
          685.   
          686. > DEFINE_LHASH_OF(SSL_SESSION);
          687.   
          688.   

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

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

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