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


test/servername_test.c:190:11: Call
188.           goto end;
189.   
190.       con = SSL_new(ctx);
                 ^
191.       if (!TEST_ptr(con))
192.           goto end;

ssl/ssl_lib.c:603:1: Parameter `ctx->sessions->num_items`
  601.   }
  602.   
  603. > SSL *SSL_new(SSL_CTX *ctx)
  604.   {
  605.       SSL *s;

test/servername_test.c:215:5: Call
213.       ret = 1;
214.   end:
215.       SSL_free(con);
           ^
216.       SSL_CTX_free(ctx);
217.       return ret;

ssl/ssl_lib.c:1051:1: Parameter `s->session_ctx->sessions->num_items`
  1049.   }
  1050.   
  1051. > void SSL_free(SSL *s)
  1052.   {
  1053.       int i;

ssl/ssl_lib.c:1082:9: Call
  1080.       /* Make the next call work :-) */
  1081.       if (s->session != NULL) {
  1082.           ssl_clear_bad_session(s);
                  ^
  1083.           SSL_SESSION_free(s->session);
  1084.       }

ssl/ssl_sess.c:1062:1: Parameter `s->session_ctx->sessions->num_items`
    1060.   }
    1061.   
    1062. > int ssl_clear_bad_session(SSL *s)
    1063.   {
    1064.       if ((s->session != NULL) &&

ssl/ssl_sess.c:1067:9: Call
    1065.           !(s->shutdown & SSL_SENT_SHUTDOWN) &&
    1066.           !(SSL_in_init(s) || SSL_in_before(s))) {
    1067.           SSL_CTX_remove_session(s->session_ctx, s->session);
                    ^
    1068.           return (1);
    1069.       } 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:702:1: Parameter `lh->num_items`
          700.   } TLSEXT_INDEX;
          701.   
          702. > DEFINE_LHASH_OF(SSL_SESSION);
          703.   /* Needed in ssl_cert.c */
          704.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:702:1: Call
          700.   } TLSEXT_INDEX;
          701.   
          702. > DEFINE_LHASH_OF(SSL_SESSION);
          703.   /* Needed in ssl_cert.c */
          704.   DEFINE_LHASH_OF(X509_NAME);

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

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

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