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


test/cipherlist_test.c:148:10: Call
146.           return 0;
147.   
148.       if (!TEST_ptr(ssl = SSL_new(ctx))
                ^
149.               || !TEST_ptr(ciphers = SSL_get1_supported_ciphers(ssl)))
150.           goto err;

ssl/ssl_lib.c:494:1: Parameter `ctx->sessions->num_items`
  492.   }
  493.   
  494. > SSL *SSL_new(SSL_CTX *ctx)
  495.   {
  496.       SSL *s;

test/cipherlist_test.c:170:5: Call
168.    err:
169.       sk_SSL_CIPHER_free(ciphers);
170.       SSL_free(ssl);
           ^
171.       return ret;
172.   }

ssl/ssl_lib.c:942:1: Parameter `s->session_ctx->sessions->num_items`
  940.   }
  941.   
  942. > void SSL_free(SSL *s)
  943.   {
  944.       int i;

ssl/ssl_lib.c:973:9: Call
  971.       /* Make the next call work :-) */
  972.       if (s->session != NULL) {
  973.           ssl_clear_bad_session(s);
                 ^
  974.           SSL_SESSION_free(s->session);
  975.       }

ssl/ssl_sess.c:1043:1: Parameter `s->session_ctx->sessions->num_items`
    1041.   }
    1042.   
    1043. > int ssl_clear_bad_session(SSL *s)
    1044.   {
    1045.       if ((s->session != NULL) &&

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

ssl/ssl_sess.c:707:1: Parameter `ctx->sessions->num_items`
      705.   }
      706.   
      707. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      708.   {
      709.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:709:12: Call
      707.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      708.   {
      709.       return remove_session_lock(ctx, c, 1);
                        ^
      710.   }
      711.   

ssl/ssl_sess.c:712:1: Parameter `ctx->sessions->num_items`
        710.   }
        711.   
        712. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        713.   {
        714.       SSL_SESSION *r;

ssl/ssl_sess.c:722:17: Call
        720.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
        721.               ret = 1;
        722.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                               ^
        723.               SSL_SESSION_list_remove(ctx, c);
        724.           }

ssl/ssl_locl.h:696:1: Parameter `lh->num_items`
          694.   } TLSEXT_INDEX;
          695.   
          696. > DEFINE_LHASH_OF(SSL_SESSION);
          697.   /* Needed in ssl_cert.c */
          698.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:696:1: Call
          694.   } TLSEXT_INDEX;
          695.   
          696. > DEFINE_LHASH_OF(SSL_SESSION);
          697.   /* Needed in ssl_cert.c */
          698.   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)))
