ssl/record/ssl3_record.c:1853: error: INTEGER_OVERFLOW_L2
  ([0, max(0, `s->session_ctx->sessions->num_items`)] - 1):unsigned64 by call to `dtls1_process_record`.
Showing all 17 steps of the trace


ssl/record/ssl3_record.c:1693:1: Parameter `s->session_ctx->sessions->num_items`
1691.    */
1692.   /* used only by dtls1_read_bytes */
1693. > int dtls1_get_record(SSL *s)
1694.   {
1695.       int ssl_major, ssl_minor;

ssl/record/ssl3_record.c:1711:10: Call
1709.        * This is a non-blocking operation.
1710.        */
1711.       if (!dtls1_process_buffered_records(s))
                 ^
1712.           return -1;
1713.   

ssl/record/rec_layer_d1.c:223:1: Parameter `s->session_ctx->sessions->num_items`
  221.                      &((s)->rlayer.d->unprocessed_rcds))
  222.   
  223. > int dtls1_process_buffered_records(SSL *s)
  224.   {
  225.       pitem *item;

ssl/record/ssl3_record.c:1853:10: Call
1851.       }
1852.   
1853.       if (!dtls1_process_record(s, bitmap)) {
                 ^
1854.           rr->length = 0;
1855.           RECORD_LAYER_reset_packet_length(&s->rlayer); /* dump this record */

ssl/record/ssl3_record.c:1479:1: Parameter `s->session_ctx->sessions->num_items`
  1477.   }
  1478.   
  1479. > int dtls1_process_record(SSL *s, DTLS1_BITMAP *bitmap)
  1480.   {
  1481.       int i, al;

ssl/record/ssl3_record.c:1671:5: Call
  1669.   
  1670.    f_err:
  1671.       ssl3_send_alert(s, SSL3_AL_FATAL, al);
              ^
  1672.    err:
  1673.       return (0);

ssl/s3_msg.c:63:1: Parameter `s->session_ctx->sessions->num_items`
    61.   }
    62.   
    63. > int ssl3_send_alert(SSL *s, int level, int desc)
    64.   {
    65.       /* Map tls/ssl alert value to correct one */

ssl/s3_msg.c:77:9: Call
    75.       /* If a fatal one, remove from cache */
    76.       if ((level == SSL3_AL_FATAL) && (s->session != NULL))
    77.           SSL_CTX_remove_session(s->session_ctx, s->session);
                  ^
    78.   
    79.       s->s3->alert_dispatch = 1;

ssl/ssl_sess.c:725:1: Parameter `ctx->sessions->num_items`
      723.   }
      724.   
      725. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      726.   {
      727.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:727:12: Call
      725.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      726.   {
      727.       return remove_session_lock(ctx, c, 1);
                        ^
      728.   }
      729.   

ssl/ssl_sess.c:730:1: Parameter `ctx->sessions->num_items`
        728.   }
        729.   
        730. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        731.   {
        732.       SSL_SESSION *r;

ssl/ssl_sess.c:740:17: Call
        738.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
        739.               ret = 1;
        740.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                               ^
        741.               SSL_SESSION_list_remove(ctx, c);
        742.           }

ssl/ssl_locl.h:721:1: Parameter `lh->num_items`
          719.   } TLSEXT_INDEX;
          720.   
          721. > DEFINE_LHASH_OF(SSL_SESSION);
          722.   /* Needed in ssl_cert.c */
          723.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:721:1: Call
          719.   } TLSEXT_INDEX;
          720.   
          721. > DEFINE_LHASH_OF(SSL_SESSION);
          722.   /* Needed in ssl_cert.c */
          723.   DEFINE_LHASH_OF(X509_NAME);

crypto/lhash/lhash.c:103:1: <LHS trace>
101.   }
102.   
103. > void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data)
104.   {
105.       unsigned long hash;

crypto/lhash/lhash.c:103:1: Parameter `lh->num_items`
            101.   }
            102.   
            103. > void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data)
            104.   {
            105.       unsigned long hash;

crypto/lhash/lhash.c:123:5: Binary operation: ([0, max(0, s->session_ctx->sessions->num_items)] - 1):unsigned64 by call to `dtls1_process_record` 
            121.       }
            122.   
            123.       lh->num_items--;
                       ^
            124.       if ((lh->num_nodes > MIN_NODES) &&
            125.           (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)))
