test/servername_test.c:98: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned64 by call to `SSL_new`.
Showing all 16 steps of the trace


test/servername_test.c:98:11: Call
96.           goto end;
97.   
98.       con = SSL_new(ctx);
                 ^
99.       if (!TEST_ptr(con))
100.           goto end;

ssl/ssl_lib.c:669:1: Parameter `ctx->sessions->num_items`
  667.   }
  668.   
  669. > SSL *SSL_new(SSL_CTX *ctx)
  670.   {
  671.       SSL *s;

ssl/ssl_lib.c:818:10: Call
  816.       s->server = (ctx->method->ssl_accept == ssl_undefined_function) ? 0 : 1;
  817.   
  818.       if (!SSL_clear(s))
                  ^
  819.           goto err;
  820.   

ssl/ssl_lib.c:577:1: Parameter `s->session_ctx->sessions->num_items`
    575.   }
    576.   
    577. > int SSL_clear(SSL *s)
    578.   {
    579.       if (s->method == NULL) {

ssl/ssl_lib.c:584:9: Call
    582.       }
    583.   
    584.       if (ssl_clear_bad_session(s)) {
                   ^
    585.           SSL_SESSION_free(s->session);
    586.           s->session = NULL;

ssl/ssl_sess.c:1124:1: Parameter `s->session_ctx->sessions->num_items`
      1122.   }
      1123.   
      1124. > int ssl_clear_bad_session(SSL *s)
      1125.   {
      1126.       if ((s->session != NULL) &&

ssl/ssl_sess.c:1129:9: Call
      1127.           !(s->shutdown & SSL_SENT_SHUTDOWN) &&
      1128.           !(SSL_in_init(s) || SSL_in_before(s))) {
      1129.           SSL_CTX_remove_session(s->session_ctx, s->session);
                      ^
      1130.           return 1;
      1131.       } else

ssl/ssl_sess.c:742:1: Parameter `ctx->sessions->num_items`
        740.   }
        741.   
        742. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
        743.   {
        744.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:744:12: Call
        742.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
        743.   {
        744.       return remove_session_lock(ctx, c, 1);
                          ^
        745.   }
        746.   

ssl/ssl_sess.c:747:1: Parameter `ctx->sessions->num_items`
          745.   }
          746.   
          747. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
          748.   {
          749.       SSL_SESSION *r;

ssl/ssl_sess.c:757:17: Call
          755.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) != NULL) {
          756.               ret = 1;
          757.               r = lh_SSL_SESSION_delete(ctx->sessions, r);
                                 ^
          758.               SSL_SESSION_list_remove(ctx, r);
          759.           }

ssl/ssl_locl.h:728:1: Parameter `lh->num_items`
            726.   } TLSEXT_INDEX;
            727.   
            728. > DEFINE_LHASH_OF(SSL_SESSION);
            729.   /* Needed in ssl_cert.c */
            730.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:728:1: Call
            726.   } TLSEXT_INDEX;
            727.   
            728. > DEFINE_LHASH_OF(SSL_SESSION);
            729.   /* Needed in ssl_cert.c */
            730.   DEFINE_LHASH_OF(X509_NAME);

crypto/lhash/lhash.c:128:1: <LHS trace>
126.   }
127.   
128. > void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data)
129.   {
130.       unsigned long hash;

crypto/lhash/lhash.c:128:1: Parameter `lh->num_items`
              126.   }
              127.   
              128. > void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data)
              129.   {
              130.       unsigned long hash;

crypto/lhash/lhash.c:148:5: Binary operation: ([0, +oo] - 1):unsigned64 by call to `SSL_new` 
              146.       }
              147.   
              148.       lh->num_items--;
                         ^
              149.       if ((lh->num_nodes > MIN_NODES) &&
              150.           (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)))
