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


test/sslapitest.c:2851:10: Call
2849.       size_t readbytes, written;
2850.   
2851.       if (!TEST_true(setupearly_data_test(&cctx, &sctx, &clientssl,
                 ^
2852.                                           &serverssl, &sess, idx)))
2853.           goto end;

test/sslapitest.c:2386:1: Parameter `(*serverssl)->session_ctx->sessions->num_items`
  2384.    * error.
  2385.    */
  2386. > static int setupearly_data_test(SSL_CTX **cctx, SSL_CTX **sctx, SSL **clientssl,
  2387.                                   SSL **serverssl, SSL_SESSION **sess, int idx)
  2388.   {

test/sslapitest.c:2464:5: Call
  2462.       SSL_shutdown(*clientssl);
  2463.       SSL_shutdown(*serverssl);
  2464.       SSL_free(*serverssl);
              ^
  2465.       SSL_free(*clientssl);
  2466.       *serverssl = *clientssl = NULL;

ssl/ssl_lib.c:1138:1: Parameter `s->session_ctx->sessions->num_items`
    1136.   }
    1137.   
    1138. > void SSL_free(SSL *s)
    1139.   {
    1140.       int i;

ssl/ssl_lib.c:1173:9: Call
    1171.       /* Make the next call work :-) */
    1172.       if (s->session != NULL) {
    1173.           ssl_clear_bad_session(s);
                    ^
    1174.           SSL_SESSION_free(s->session);
    1175.       }

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:735:1: Parameter `lh->num_items`
            733.   } TLSEXT_INDEX;
            734.   
            735. > DEFINE_LHASH_OF(SSL_SESSION);
            736.   /* Needed in ssl_cert.c */
            737.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:735:1: Call
            733.   } TLSEXT_INDEX;
            734.   
            735. > DEFINE_LHASH_OF(SSL_SESSION);
            736.   /* Needed in ssl_cert.c */
            737.   DEFINE_LHASH_OF(X509_NAME);

crypto/lhash/lhash.c:137:1: <LHS trace>
135.   }
136.   
137. > void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data)
138.   {
139.       unsigned long hash;

crypto/lhash/lhash.c:137:1: Parameter `lh->num_items`
              135.   }
              136.   
              137. > void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data)
              138.   {
              139.       unsigned long hash;

crypto/lhash/lhash.c:157:5: Binary operation: ([0, +oo] - 1):unsigned64 by call to `setupearly_data_test` 
              155.       }
              156.   
              157.       lh->num_items--;
                         ^
              158.       if ((lh->num_nodes > MIN_NODES) &&
              159.           (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)))
