ssl/s3_clnt.c:370: error: INTEGER_OVERFLOW_L2
  ([0, max(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:173:1: Parameter `s->ctx->sessions->num_items`
171.   
172.   
173. > int ssl3_connect(SSL *s)
174.   {
175.       BUF_MEM *buf = NULL;

ssl/s3_clnt.c:370:19: Call
368.           case SSL3_ST_CR_CERT_REQ_A:
369.           case SSL3_ST_CR_CERT_REQ_B:
370.               ret = ssl3_get_certificate_request(s);
                         ^
371.               if (ret <= 0)
372.                   goto end;

ssl/s3_clnt.c:2028:1: Parameter `s->ctx->sessions->num_items`
  2026.   }
  2027.   
  2028. > int ssl3_get_certificate_request(SSL *s)
  2029.   {
  2030.       int ok, ret = 0;

ssl/s3_clnt.c:2077:9: Call
  2075.   
  2076.       if (!PACKET_buf_init(&pkt, s->init_msg, n)) {
  2077.           ssl3_send_alert(s, SSL3_AL_FATAL, SSL_AD_INTERNAL_ERROR);
                  ^
  2078.           SSLerr(SSL_F_SSL3_GET_CERTIFICATE_REQUEST, ERR_R_INTERNAL_ERROR);
  2079.           goto err;

ssl/s3_msg.c:166:1: Parameter `s->ctx->sessions->num_items`
    164.   }
    165.   
    166. > int ssl3_send_alert(SSL *s, int level, int desc)
    167.   {
    168.       /* Map tls/ssl alert value to correct one */

ssl/s3_msg.c:177:9: Call
    175.       /* If a fatal one, remove from cache */
    176.       if ((level == SSL3_AL_FATAL) && (s->session != NULL))
    177.           SSL_CTX_remove_session(s->ctx, s->session);
                   ^
    178.   
    179.       s->s3->alert_dispatch = 1;

ssl/ssl_sess.c:769:1: Parameter `ctx->sessions->num_items`
      767.   }
      768.   
      769. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      770.   {
      771.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:771:12: Call
      769.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      770.   {
      771.       return remove_session_lock(ctx, c, 1);
                        ^
      772.   }
      773.   

ssl/ssl_sess.c:774:1: Parameter `ctx->sessions->num_items`
        772.   }
        773.   
        774. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        775.   {
        776.       SSL_SESSION *r;

ssl/ssl_sess.c:784:17: Call
        782.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
        783.               ret = 1;
        784.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                               ^
        785.               SSL_SESSION_list_remove(ctx, c);
        786.           }

crypto/lhash/lhash.c:189:1: <LHS trace>
187.   }
188.   
189. > void *lh_delete(_LHASH *lh, const void *data)
190.   {
191.       unsigned long hash;

crypto/lhash/lhash.c:189:1: Parameter `lh->num_items`
          187.   }
          188.   
          189. > void *lh_delete(_LHASH *lh, const void *data)
          190.   {
          191.       unsigned long hash;

crypto/lhash/lhash.c:209:5: Binary operation: ([0, max(0, s->ctx->sessions->num_items)] - 1):unsigned64 by call to `ssl3_get_certificate_request` 
          207.       }
          208.   
          209.       lh->num_items--;
                     ^
          210.       if ((lh->num_nodes > MIN_NODES) &&
          211.           (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)))
