apps/s_client.c:827: error: INTEGER_OVERFLOW_L1
  (0 - 1):unsigned64 by call to `SSL_new`.
Showing all 27 steps of the trace


apps/s_client.c:805:7: Call
803.   
804.   	SSL_CTX_set_verify(ctx,verify,verify_callback);
805.   	if (!set_cert_key_stuff(ctx,cert,key))
             ^
806.   		goto end;
807.   

apps/s_cb.c:238:6: Call
  236.   	if (cert ==  NULL)
  237.   		return 1;
  238.   	if (SSL_CTX_use_certificate(ctx,cert) <= 0)
              ^
  239.   		{
  240.   		BIO_printf(bio_err,"error setting certificate\n");

ssl/ssl_rsa.c:391:9: Call
    389.   		return(0);
    390.   		}
    391.   	return(ssl_set_cert(ctx->cert, x));
                   ^
    392.   	}
    393.   

ssl/ssl_rsa.c:399:7: Call
      397.   	int i;
      398.   
      399.   	pkey=X509_get_pubkey(x);
                   ^
      400.   	if (pkey == NULL)
      401.   		{

crypto/x509/x509_cmp.c:262:9: Call
        260.   	if ((x == NULL) || (x->cert_info == NULL))
        261.   		return(NULL);
        262.   	return(X509_PUBKEY_get(x->cert_info->key));
                       ^
        263.   	}
        264.   

crypto/asn1/x_pubkey.c:153:7: Call
          151.   		}
          152.   
          153.   	if (!EVP_PKEY_set_type(ret, OBJ_obj2nid(key->algor->algorithm)))
                       ^
          154.   		{
          155.   		X509err(X509_F_X509_PUBKEY_GET,X509_R_UNSUPPORTED_ALGORITHM);

crypto/evp/p_lib.c:252:9: Call
            250.   int EVP_PKEY_set_type(EVP_PKEY *pkey, int type)
            251.   	{
            252.   	return pkey_set_type(pkey, type, NULL, -1);
                           ^
            253.   	}
            254.   

crypto/evp/p_lib.c:229:11: Call
              227.   		ameth = EVP_PKEY_asn1_find_str(&e, str, len);
              228.   	else
              229.   		ameth = EVP_PKEY_asn1_find(&e, type);
                               ^
              230.   #ifndef OPENSSL_NO_ENGINE
              231.   	if (!pkey && e)

crypto/asn1/ameth_lib.c:183:7: Call
                181.   #ifndef OPENSSL_NO_ENGINE
                182.   		/* type will contain the final unaliased type */
                183.   		e = ENGINE_get_pkey_asn1_meth_engine(type);
                             ^
                184.   		if (e)
                185.   			{

crypto/engine/tb_asnmth.c:118:9: Call
                  116.   ENGINE *ENGINE_get_pkey_asn1_meth_engine(int nid)
                  117.   	{
                  118.   	return engine_table_select(&pkey_asn1_meth_table, nid);
                                 ^
                  119.   	}
                  120.   

crypto/engine/eng_table.c:260:6: Call
                    258.   	/* Check again inside the lock otherwise we could race against cleanup
                    259.   	 * operations. But don't worry about a fprintf(stderr). */
                    260.   	if(!int_table_check(table, 0)) goto end;
                                ^
                    261.   	tmplate.nid = nid;
                    262.   	fnd = lh_ENGINE_PILE_retrieve(&(*table)->piles, &tmplate);

crypto/engine/eng_table.c:122:11: Call
                      120.   	if(*t) return 1;
                      121.   	if(!create) return 0;
                      122.   	if((lh = lh_ENGINE_PILE_new()) == NULL)
                                       ^
                      123.   		return 0;
                      124.   	*t = (ENGINE_TABLE *)lh;

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;

apps/s_client.c:827:6: Call
825.   #endif
826.   
827.   	con=SSL_new(ctx);
            ^
828.   	if (sess_in)
829.   		{

ssl/ssl_lib.c:268:1: Parameter `ctx->sessions->num_items`
  266.   	}
  267.   
  268. > SSL *SSL_new(SSL_CTX *ctx)
  269.   	{
  270.   	SSL *s;

ssl/ssl_lib.c:364:2: Call
  362.   	s->server=(ctx->method->ssl_accept == ssl_undefined_function)?0:1;
  363.   
  364.   	SSL_clear(s);
          ^
  365.   
  366.   	CRYPTO_new_ex_data(CRYPTO_EX_INDEX_SSL, s, &s->ex_data);

ssl/ssl_lib.c:179:1: Parameter `s->ctx->sessions->num_items`
    177.   	};
    178.   
    179. > int SSL_clear(SSL *s)
    180.   	{
    181.   

ssl/ssl_lib.c:188:6: Call
    186.   		}
    187.   
    188.   	if (ssl_clear_bad_session(s))
                ^
    189.   		{
    190.   		SSL_SESSION_free(s->session);

ssl/ssl_sess.c:876:1: Parameter `s->ctx->sessions->num_items`
      874.   	}
      875.   
      876. > int ssl_clear_bad_session(SSL *s)
      877.   	{
      878.   	if (	(s->session != NULL) &&

ssl/ssl_sess.c:882:3: Call
      880.   		!(SSL_in_init(s) || SSL_in_before(s)))
      881.   		{
      882.   		SSL_CTX_remove_session(s->ctx,s->session);
               ^
      883.   		return(1);
      884.   		}

ssl/ssl_sess.c:645:1: Parameter `ctx->sessions->num_items`
        643.   	}
        644.   
        645. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
        646.   {
        647.   	return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:647:9: Call
        645.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
        646.   {
        647.   	return remove_session_lock(ctx, c, 1);
                       ^
        648.   }
        649.   

ssl/ssl_sess.c:650:1: Parameter `ctx->sessions->num_items`
          648.   }
          649.   
          650. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
          651.   	{
          652.   	SSL_SESSION *r;

ssl/ssl_sess.c:661:6: Call
          659.   			{
          660.   			ret=1;
          661.   			r=lh_SSL_SESSION_delete(ctx->sessions,c);
                      ^
          662.   			SSL_SESSION_list_remove(ctx,c);
          663.   			}

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_new` 
            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)))
