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


test/dtlstest.c:64:10: Call
62.   
63.       /* BIO is freed by create_ssl_connection on error */
64.       if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl1, &clientssl1,
               ^
65.                                         NULL, c_to_s_fbio)))
66.           goto end;

test/ssltestlib.c:580:21: Call
  578.   
  579.       if (*sssl == NULL)
  580.           serverssl = SSL_new(serverctx);
                             ^
  581.       else
  582.           serverssl = *sssl;

ssl/ssl_lib.c:521:1: Parameter `ctx->sessions->num_items`
    519.   }
    520.   
    521. > SSL *SSL_new(SSL_CTX *ctx)
    522.   {
    523.       SSL *s;

test/dtlstest.c:89:5: Call
87.       testresult = 1;
88.    end:
89.       SSL_free(serverssl1);
          ^
90.       SSL_free(clientssl1);
91.       SSL_CTX_free(sctx);

ssl/ssl_lib.c:963:1: Parameter `s->session_ctx->sessions->num_items`
  961.   }
  962.   
  963. > void SSL_free(SSL *s)
  964.   {
  965.       int i;

ssl/ssl_lib.c:993:9: Call
  991.       /* Make the next call work :-) */
  992.       if (s->session != NULL) {
  993.           ssl_clear_bad_session(s);
                 ^
  994.           SSL_SESSION_free(s->session);
  995.       }

ssl/ssl_sess.c:1039:1: Parameter `s->session_ctx->sessions->num_items`
    1037.   }
    1038.   
    1039. > int ssl_clear_bad_session(SSL *s)
    1040.   {
    1041.       if ((s->session != NULL) &&

ssl/ssl_sess.c:1044:9: Call
    1042.           !(s->shutdown & SSL_SENT_SHUTDOWN) &&
    1043.           !(SSL_in_init(s) || SSL_in_before(s))) {
    1044.           SSL_CTX_remove_session(s->session_ctx, s->session);
                    ^
    1045.           return (1);
    1046.       } else

ssl/ssl_sess.c:725:1: Parameter `ctx->sessions->num_items`
      723.   }
      724.   
      725. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      726.   {
      727.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:727:12: Call
      725.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      726.   {
      727.       return remove_session_lock(ctx, c, 1);
                        ^
      728.   }
      729.   

ssl/ssl_sess.c:730:1: Parameter `ctx->sessions->num_items`
        728.   }
        729.   
        730. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        731.   {
        732.       SSL_SESSION *r;

ssl/ssl_sess.c:740:17: Call
        738.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
        739.               ret = 1;
        740.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                               ^
        741.               SSL_SESSION_list_remove(ctx, c);
        742.           }

ssl/ssl_locl.h:689:1: Parameter `lh->num_items`
          687.   } CLIENTHELLO_MSG;
          688.   
          689. > DEFINE_LHASH_OF(SSL_SESSION);
          690.   /* Needed in ssl_cert.c */
          691.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:689:1: Call
          687.   } CLIENTHELLO_MSG;
          688.   
          689. > DEFINE_LHASH_OF(SSL_SESSION);
          690.   /* Needed in ssl_cert.c */
          691.   DEFINE_LHASH_OF(X509_NAME);

crypto/lhash/lhash.c:103:1: <LHS trace>
101.   }
102.   
103. > void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data)
104.   {
105.       unsigned long hash;

crypto/lhash/lhash.c:103:1: Parameter `lh->num_items`
            101.   }
            102.   
            103. > void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data)
            104.   {
            105.       unsigned long hash;

crypto/lhash/lhash.c:123:5: Binary operation: ([0, +oo] - 1):unsigned64 by call to `SSL_free` 
            121.       }
            122.   
            123.       lh->num_items--;
                       ^
            124.       if ((lh->num_nodes > MIN_NODES) &&
            125.           (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)))
