ssl/ssltest.c:709: error: INTEGER_OVERFLOW_L1
  (0 - 1):unsigned64 by call to `SSL_free`.
Showing all 22 steps of the trace


ssl/ssltest.c:683:3: Call
681.   	if (!verbose)
682.   		{
683.   		print_details(c_ssl, "");
         ^
684.   		}
685.   	if ((number > 1) || (bytes > 1L))

ssl/ssltest.c:237:20: Call
  235.   	if (cert != NULL)
  236.   		{
  237.   		EVP_PKEY *pkey = X509_get_pubkey(cert);
                            ^
  238.   		if (pkey != NULL)
  239.   			{

crypto/x509/x509_cmp.c:257:9: Call
    255.   	if ((x == NULL) || (x->cert_info == NULL))
    256.   		return(NULL);
    257.   	return(X509_PUBKEY_get(x->cert_info->key));
                   ^
    258.   	}
    259.   

crypto/asn1/x_pubkey.c:249:25: Call
      247.   		if (a->parameter && (a->parameter->type == V_ASN1_SEQUENCE))
      248.   			{
      249.   			if ((ret->pkey.dsa = DSA_new()) == NULL)
                                     ^
      250.   				{
      251.   				X509err(X509_F_X509_PUBKEY_GET, ERR_R_MALLOC_FAILURE);

crypto/dsa/dsa_lib.c:86:9: Call
        84.   DSA *DSA_new(void)
        85.   	{
        86.   	return DSA_new_method(NULL);
                      ^
        87.   	}
        88.   

crypto/dsa/dsa_lib.c:119:17: Call
          117.   	ret->engine = engine;
          118.   	if(!ret->engine)
          119.   		ret->engine = ENGINE_get_default_DSA();
                                 ^
          120.   	if(ret->engine)
          121.   		{

crypto/engine/tb_dsa.c:106:9: Call
            104.   ENGINE *ENGINE_get_default_DSA(void)
            105.   	{
            106.   	return engine_table_select(&dsa_table, dummy_nid);
                           ^
            107.   	}
            108.   

crypto/engine/eng_table.c:268:6: Call
              266.   	/* Check again inside the lock otherwise we could race against cleanup
              267.   	 * operations. But don't worry about a fprintf(stderr). */
              268.   	if(!int_table_check(table, 0))
                          ^
              269.   		goto end;
              270.   	tmplate.nid = nid;

crypto/engine/eng_table.c:128:11: Call
                126.   	if(!create)
                127.   		return 0;
                128.   	if((lh = lh_new(LHASH_HASH_FN(engine_pile_hash),
                                 ^
                129.   			LHASH_COMP_FN(engine_pile_cmp))) == NULL)
                130.   		return 0;

crypto/lhash/lhash.c:133:2: Assignment
                  131.   	ret->up_load=UP_LOAD;
                  132.   	ret->down_load=DOWN_LOAD;
                  133.   	ret->num_items=0;
                          ^
                  134.   
                  135.   	ret->num_expands=0;

ssl/ssltest.c:709:2: Call
707.   		}
708.   
709.   	SSL_free(s_ssl);
        ^
710.   	SSL_free(c_ssl);
711.   

ssl/ssl_lib.c:410:1: Parameter `s->ctx->sessions->num_items`
  408.   	}
  409.   
  410. > void SSL_free(SSL *s)
  411.   	{
  412.   	int i;

ssl/ssl_lib.c:456:3: Call
  454.   	if (s->session != NULL)
  455.   		{
  456.   		ssl_clear_bad_session(s);
           ^
  457.   		SSL_SESSION_free(s->session);
  458.   		}

ssl/ssl_sess.c:678:1: Parameter `s->ctx->sessions->num_items`
    676.   	}
    677.   
    678. > int ssl_clear_bad_session(SSL *s)
    679.   	{
    680.   	if (	(s->session != NULL) &&

ssl/ssl_sess.c:684:3: Call
    682.   		!(SSL_in_init(s) || SSL_in_before(s)))
    683.   		{
    684.   		SSL_CTX_remove_session(s->ctx,s->session);
             ^
    685.   		return(1);
    686.   		}

ssl/ssl_sess.c:464:1: Parameter `ctx->sessions->num_items`
      462.   	}
      463.   
      464. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      465.   {
      466.   	return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:466:9: Call
      464.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      465.   {
      466.   	return remove_session_lock(ctx, c, 1);
                     ^
      467.   }
      468.   

ssl/ssl_sess.c:469:1: Parameter `ctx->sessions->num_items`
        467.   }
        468.   
        469. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        470.   	{
        471.   	SSL_SESSION *r;

ssl/ssl_sess.c:480:21: Call
        478.   			{
        479.   			ret=1;
        480.   			r=(SSL_SESSION *)lh_delete(ctx->sessions,c);
                                   ^
        481.   			SSL_SESSION_list_remove(ctx,c);
        482.   			}

crypto/lhash/lhash.c:217:1: <LHS trace>
215.   	}
216.   
217. > void *lh_delete(LHASH *lh, const void *data)
218.   	{
219.   	unsigned long hash;

crypto/lhash/lhash.c:217:1: Parameter `lh->num_items`
          215.   	}
          216.   
          217. > void *lh_delete(LHASH *lh, const void *data)
          218.   	{
          219.   	unsigned long hash;

crypto/lhash/lhash.c:240:2: Binary operation: (0 - 1):unsigned64 by call to `SSL_free` 
          238.   		}
          239.   
          240.   	lh->num_items--;
                  ^
          241.   	if ((lh->num_nodes > MIN_NODES) &&
          242.   		(lh->down_load >= (lh->num_items*LH_LOAD_MULT/lh->num_nodes)))
