ssl/d1_srvr.c:319: error: INTEGER_OVERFLOW_L2
  ([0, max(0, `s->ctx->sessions->num_items`)] - 1):unsigned64 by call to `ssl3_get_client_hello`.
Showing all 15 steps of the trace


ssl/d1_srvr.c:160:1: Parameter `s->ctx->sessions->num_items`
158.                             dtls1_get_server_method, DTLSv1_2_enc_data)
159.   
160. > int dtls1_accept(SSL *s)
161.   {
162.       BUF_MEM *buf;

ssl/d1_srvr.c:319:19: Call
317.   
318.               s->shutdown = 0;
319.               ret = ssl3_get_client_hello(s);
                         ^
320.               if (ret <= 0)
321.                   goto end;

ssl/s3_srvr.c:838:1: Parameter `s->ctx->sessions->num_items`
  836.   }
  837.   
  838. > int ssl3_get_client_hello(SSL *s)
  839.   {
  840.       int i, ok, al = SSL_AD_INTERNAL_ERROR, ret = -1;

ssl/s3_srvr.c:1324:14: Call
  1322.       /* TLS extensions */
  1323.       if (s->version >= SSL3_VERSION) {
  1324.           if (!ssl_parse_clienthello_tlsext(s, &pkt)) {
                       ^
  1325.               SSLerr(SSL_F_SSL3_GET_CLIENT_HELLO, SSL_R_PARSE_TLSEXT);
  1326.               goto err;

ssl/t1_lib.c:2325:1: Parameter `s->ctx->sessions->num_items`
    2323.   }
    2324.   
    2325. > int ssl_parse_clienthello_tlsext(SSL *s, PACKET *pkt)
    2326.   {
    2327.       int al = -1;

ssl/t1_lib.c:2330:9: Call
    2328.       custom_ext_init(&s->cert->srv_ext);
    2329.       if (ssl_scan_clienthello_tlsext(s, pkt, &al) <= 0) {
    2330.           ssl3_send_alert(s, SSL3_AL_FATAL, al);
                    ^
    2331.           return 0;
    2332.       }

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:787:1: Parameter `ctx->sessions->num_items`
        785.   }
        786.   
        787. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
        788.   {
        789.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:789:12: Call
        787.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
        788.   {
        789.       return remove_session_lock(ctx, c, 1);
                          ^
        790.   }
        791.   

ssl/ssl_sess.c:792:1: Parameter `ctx->sessions->num_items`
          790.   }
          791.   
          792. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
          793.   {
          794.       SSL_SESSION *r;

ssl/ssl_sess.c:802:17: Call
          800.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
          801.               ret = 1;
          802.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                                 ^
          803.               SSL_SESSION_list_remove(ctx, c);
          804.           }

crypto/lhash/lhash.c:209:1: <LHS trace>
207.   }
208.   
209. > void *lh_delete(_LHASH *lh, const void *data)
210.   {
211.       unsigned long hash;

crypto/lhash/lhash.c:209:1: Parameter `lh->num_items`
            207.   }
            208.   
            209. > void *lh_delete(_LHASH *lh, const void *data)
            210.   {
            211.       unsigned long hash;

crypto/lhash/lhash.c:229:5: Binary operation: ([0, max(0, s->ctx->sessions->num_items)] - 1):unsigned64 by call to `ssl3_get_client_hello` 
            227.       }
            228.   
            229.       lh->num_items--;
                       ^
            230.       if ((lh->num_nodes > MIN_NODES) &&
            231.           (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)))
