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


ssl/record/ssl3_record.c:1458:1: Parameter `s->initial_ctx->sessions->num_items`
1456.    */
1457.   /* used only by dtls1_read_bytes */
1458. > int dtls1_get_record(SSL *s)
1459.   {
1460.       int ssl_major, ssl_minor;

ssl/record/ssl3_record.c:1474:9: Call
1472.        * This is a non-blocking operation.
1473.        */
1474.       if (dtls1_process_buffered_records(s) < 0)
                ^
1475.           return -1;
1476.   

ssl/record/rec_layer_d1.c:229:1: Parameter `s->initial_ctx->sessions->num_items`
  227.                      &((s)->rlayer.d->unprocessed_rcds))
  228.   
  229. > int dtls1_process_buffered_records(SSL *s)
  230.   {
  231.       pitem *item;

ssl/record/ssl3_record.c:1614:10: Call
1612.       }
1613.   
1614.       if (!dtls1_process_record(s)) {
                 ^
1615.           rr->length = 0;
1616.           RECORD_LAYER_reset_packet_length(&s->rlayer); /* dump this record */

ssl/record/ssl3_record.c:1276:1: Parameter `s->initial_ctx->sessions->num_items`
  1274.   }
  1275.   
  1276. > int dtls1_process_record(SSL *s)
  1277.   {
  1278.       int i, al;

ssl/record/ssl3_record.c:1435:5: Call
  1433.   
  1434.    f_err:
  1435.       ssl3_send_alert(s, SSL3_AL_FATAL, al);
              ^
  1436.    err:
  1437.       return (0);

ssl/s3_msg.c:63:1: Parameter `s->initial_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:74:9: Call
    72.       /* If a fatal one, remove from cache */
    73.       if ((level == SSL3_AL_FATAL) && (s->session != NULL))
    74.           SSL_CTX_remove_session(s->session_ctx, s->session);
                  ^
    75.   
    76.       s->s3->alert_dispatch = 1;

ssl/ssl_sess.c:697:1: Parameter `ctx->sessions->num_items`
      695.   }
      696.   
      697. > int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      698.   {
      699.       return remove_session_lock(ctx, c, 1);

ssl/ssl_sess.c:699:12: Call
      697.   int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c)
      698.   {
      699.       return remove_session_lock(ctx, c, 1);
                        ^
      700.   }
      701.   

ssl/ssl_sess.c:702:1: Parameter `ctx->sessions->num_items`
        700.   }
        701.   
        702. > static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck)
        703.   {
        704.       SSL_SESSION *r;

ssl/ssl_sess.c:712:17: Call
        710.           if ((r = lh_SSL_SESSION_retrieve(ctx->sessions, c)) == c) {
        711.               ret = 1;
        712.               r = lh_SSL_SESSION_delete(ctx->sessions, c);
                               ^
        713.               SSL_SESSION_list_remove(ctx, c);
        714.           }

ssl/ssl_locl.h:595:1: Parameter `lh->num_items`
          593.   };
          594.   
          595. > DEFINE_LHASH_OF(SSL_SESSION);
          596.   /* Needed in ssl_cert.c */
          597.   DEFINE_LHASH_OF(X509_NAME);

ssl/ssl_locl.h:595:1: Call
          593.   };
          594.   
          595. > DEFINE_LHASH_OF(SSL_SESSION);
          596.   /* Needed in ssl_cert.c */
          597.   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->initial_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)))
