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


test/sslapitest.c:105:17: Call
103.       /* First just do various checks getting and setting tlsext_status_type */
104.   
105.       clientssl = SSL_new(cctx);
                       ^
106.       if (SSL_get_tlsext_status_type(clientssl) != -1) {
107.           printf("Unexpected initial value for SSL_get_tlsext_status_type()\n");

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

test/sslapitest.c:121:5: Call
119.       }
120.   
121.       SSL_free(clientssl);
           ^
122.       clientssl = NULL;
123.   

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

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

ssl/ssl_sess.c:1008:1: Parameter `s->initial_ctx->sessions->num_items`
    1006.   }
    1007.   
    1008. > int ssl_clear_bad_session(SSL *s)
    1009.   {
    1010.       if ((s->session != NULL) &&

ssl/ssl_sess.c:1013:9: Call
    1011.           !(s->shutdown & SSL_SENT_SHUTDOWN) &&
    1012.           !(SSL_in_init(s) || SSL_in_before(s))) {
    1013.           SSL_CTX_remove_session(s->session_ctx, s->session);
                    ^
    1014.           return (1);
    1015.       } else

ssl/ssl_sess.c:697:1: Parameter `ctx->sessions->num_items`
      695.   }
      696.   
      697. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      698.   {
      699.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:699:12: Call
      697.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      698.   {
      699.       return remove_session_lock(ctx, c, 1);
                        ^
      700.   }
      701.   

ssl/ssl_sess.c:702:1: Parameter `ctx->sessions->num_items`
        700.   }
        701.   
        702. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        703.   {
        704.       SSL_SESSION *r;

ssl/ssl_sess.c:712:17: Call
        710.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
        711.               ret = 1;
        712.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                               ^
        713.               SSL_SESSION_list_remove(ctx, c);
        714.           }

ssl/ssl_locl.h:596:1: Parameter `lh->num_items`
          594.   };
          595.   
          596. > DEFINE_LHASH_OF(SSL_SESSION);
          597.   /* Needed in ssl_cert.c */
          598.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:596:1: Call
          594.   };
          595.   
          596. > DEFINE_LHASH_OF(SSL_SESSION);
          597.   /* Needed in ssl_cert.c */
          598.   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)))
