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


ssl/d1_pkt.c:519:1: Parameter `s->ctx->sessions->num_items`
517.    */
518.   /* used only by dtls1_read_bytes */
519. > int dtls1_get_record(SSL *s)
520.   {
521.       int ssl_major, ssl_minor;

ssl/d1_pkt.c:535:9: Call
533.        * This is a non-blocking operation.
534.        */
535.       if (dtls1_process_buffered_records(s) < 0)
               ^
536.           return -1;
537.   

ssl/d1_pkt.c:314:1: Parameter `s->ctx->sessions->num_items`
  312.                      &((s)->d1->processed_rcds))
  313.   
  314. > static int dtls1_process_buffered_records(SSL *s)
  315.   {
  316.       pitem *item;

ssl/d1_pkt.c:679:10: Call
677.       }
678.   
679.       if (!dtls1_process_record(s)) {
                ^
680.           rr->length = 0;
681.           s->packet_length = 0;   /* dump this record */

ssl/d1_pkt.c:345:1: Parameter `s->ctx->sessions->num_items`
  343.   }
  344.   
  345. > static int dtls1_process_record(SSL *s)
  346.   {
  347.       int i, al;

ssl/d1_pkt.c:504:5: Call
  502.   
  503.    f_err:
  504.       ssl3_send_alert(s, SSL3_AL_FATAL, al);
             ^
  505.    err:
  506.       return (0);

ssl/s3_pkt.c:1686:1: Parameter `s->ctx->sessions->num_items`
    1684.   }
    1685.   
    1686. > int ssl3_send_alert(SSL *s, int level, int desc)
    1687.   {
    1688.       /* Map tls/ssl alert value to correct one */

ssl/s3_pkt.c:1697:9: Call
    1695.       /* If a fatal one, remove from cache */
    1696.       if ((level == SSL3_AL_FATAL) && (s->session != NULL))
    1697.           SSL_CTX_remove_session(s->ctx, s->session);
                    ^
    1698.   
    1699.       s->s3->alert_dispatch = 1;

ssl/ssl_sess.c:673:1: Parameter `ctx->sessions->num_items`
      671.   }
      672.   
      673. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      674.   {
      675.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:675:12: Call
      673.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      674.   {
      675.       return remove_session_lock(ctx, c, 1);
                        ^
      676.   }
      677.   

ssl/ssl_sess.c:678:1: Parameter `ctx->sessions->num_items`
        676.   }
        677.   
        678. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        679.   {
        680.       SSL_SESSION *r;

ssl/ssl_sess.c:688:17: Call
        686.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
        687.               ret = 1;
        688.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                               ^
        689.               SSL_SESSION_list_remove(ctx, c);
        690.           }

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

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

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