ssl/s3_clnt.c:297: error: INTEGER_OVERFLOW_L2
  ([0, `s->ctx->sessions->num_items`] - 1):unsigned64 by call to `ssl3_get_certificate_request`.
Showing all 13 steps of the trace


ssl/s3_clnt.c:159:1: Parameter `s->ctx->sessions->num_items`
157.   			ssl3_get_client_method)
158.   
159. > int ssl3_connect(SSL *s)
160.   	{
161.   	BUF_MEM *buf=NULL;

ssl/s3_clnt.c:297:8: Call
295.   		case SSL3_ST_CR_CERT_REQ_A:
296.   		case SSL3_ST_CR_CERT_REQ_B:
297.   			ret=ssl3_get_certificate_request(s);
              ^
298.   			if (ret <= 0) goto end;
299.   			s->state=SSL3_ST_CR_SRVR_DONE_A;

ssl/s3_clnt.c:1422:1: Parameter `s->ctx->sessions->num_items`
  1420.   	}
  1421.   
  1422. > int ssl3_get_certificate_request(SSL *s)
  1423.   	{
  1424.   	int ok,ret=0;

ssl/s3_clnt.c:1451:3: Call
  1449.   	if (s->s3->tmp.message_type != SSL3_MT_CERTIFICATE_REQUEST)
  1450.   		{
  1451.   		ssl3_send_alert(s,SSL3_AL_FATAL,SSL_AD_UNEXPECTED_MESSAGE);
            ^
  1452.   		SSLerr(SSL_F_SSL3_GET_CERTIFICATE_REQUEST,SSL_R_WRONG_MESSAGE_TYPE);
  1453.   		goto err;

ssl/s3_pkt.c:1258:1: Parameter `s->ctx->sessions->num_items`
    1256.   	}
    1257.   
    1258. > void ssl3_send_alert(SSL *s, int level, int desc)
    1259.   	{
    1260.   	/* Map tls/ssl alert value to correct one */

ssl/s3_pkt.c:1267:3: Call
    1265.   	/* If a fatal one, remove from cache */
    1266.   	if ((level == 2) && (s->session != NULL))
    1267.   		SSL_CTX_remove_session(s->ctx,s->session);
              ^
    1268.   
    1269.   	s->s3->alert_dispatch=1;

ssl/ssl_sess.c:486:1: Parameter `ctx->sessions->num_items`
      484.   	}
      485.   
      486. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      487.   {
      488.   	return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:488:9: Call
      486.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      487.   {
      488.   	return remove_session_lock(ctx, c, 1);
                     ^
      489.   }
      490.   

ssl/ssl_sess.c:491:1: Parameter `ctx->sessions->num_items`
        489.   }
        490.   
        491. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        492.   	{
        493.   	SSL_SESSION *r;

ssl/ssl_sess.c:502:21: Call
        500.   			{
        501.   			ret=1;
        502.   			r=(SSL_SESSION *)lh_delete(ctx->sessions,c);
                                   ^
        503.   			SSL_SESSION_list_remove(ctx,c);
        504.   			}

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, s->ctx->sessions->num_items] - 1):unsigned64 by call to `ssl3_get_certificate_request` 
          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)))
