ssl/record/rec_layer_d1.c:494: error: INTEGER_OVERFLOW_L2
  ([0, max(1, `s->rlayer.numwpipes`)] - 1):unsigned32 by call to `dtls1_handle_timeout`.
Showing all 17 steps of the trace


ssl/record/rec_layer_d1.c:403:1: Parameter `s->rlayer.numwpipes`
401.    *             none of our business
402.    */
403. > int dtls1_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf,
404.                        int len, int peek)
405.   {

ssl/record/rec_layer_d1.c:494:9: Call
492.   
493.       /* Check for timeout */
494.       if (dtls1_handle_timeout(s) > 0)
               ^
495.           goto start;
496.   

ssl/d1_lib.c:404:1: Parameter `s->rlayer.numwpipes`
  402.   }
  403.   
  404. > int dtls1_handle_timeout(SSL *s)
  405.   {
  406.       /* if no timer is expired, don't do anything */

ssl/d1_lib.c:428:12: Call
  426.   
  427.       dtls1_start_timer(s);
  428.       return dtls1_retransmit_buffered_messages(s);
                    ^
  429.   }
  430.   

ssl/statem/statem_dtls.c:1066:1: Parameter `s->rlayer.numwpipes`
    1064.   }
    1065.   
    1066. > int dtls1_retransmit_buffered_messages(SSL *s)
    1067.   {
    1068.       pqueue *sent = s->d1->sent_messages;

ssl/statem/statem_dtls.c:1078:13: Call
    1076.       for (item = pqueue_next(&iter); item != NULL; item = pqueue_next(&iter)) {
    1077.           frag = (hm_fragment *)item->data;
    1078.           if (dtls1_retransmit_message(s, (unsigned short)
                        ^
    1079.                                        dtls1_get_queue_priority
    1080.                                        (frag->msg_header.seq,

ssl/statem/statem_dtls.c:1154:1: Parameter `s->rlayer.numwpipes`
      1152.   }
      1153.   
      1154. > int
      1155.   dtls1_retransmit_message(SSL *s, unsigned short seq, int *found)
      1156.   {

ssl/statem/statem_dtls.c:1216:11: Call
      1214.           frag->msg_header.saved_retransmit_state.epoch);
      1215.   
      1216.       ret = dtls1_do_write(s, frag->msg_header.is_ccs ?
                        ^
      1217.                            SSL3_RT_CHANGE_CIPHER_SPEC : SSL3_RT_HANDSHAKE);
      1218.   

ssl/statem/statem_dtls.c:217:1: Parameter `s->rlayer.numwpipes`
        215.    * SSL3_RT_CHANGE_CIPHER_SPEC)
        216.    */
        217. > int dtls1_do_write(SSL *s, int type)
        218.   {
        219.       int ret;

ssl/statem/statem_dtls.c:346:15: Call
        344.           }
        345.   
        346.           ret = dtls1_write_bytes(s, type, &s->init_buf->data[s->init_off],
                             ^
        347.                                   len);
        348.           if (ret < 0) {

ssl/record/rec_layer_d1.c:1021:1: Parameter `s->rlayer.numwpipes`
          1019.    * not all data has been sent or non-blocking IO.
          1020.    */
          1021. > int dtls1_write_bytes(SSL *s, int type, const void *buf, int len)
          1022.   {
          1023.       int i;

ssl/record/rec_layer_d1.c:1027:9: Call
          1025.       OPENSSL_assert(len <= SSL3_RT_MAX_PLAIN_LENGTH);
          1026.       s->rwstate = SSL_NOTHING;
          1027.       i = do_dtls1_write(s, type, buf, len, 0);
                          ^
          1028.       return i;
          1029.   }

ssl/record/rec_layer_d1.c:1031:1: Parameter `s->rlayer.numwpipes`
            1029.   }
            1030.   
            1031. > int do_dtls1_write(SSL *s, int type, const unsigned char *buf,
            1032.                      unsigned int len, int create_empty_fragment)
            1033.   {

ssl/record/rec_layer_d1.c:1050:17: Call
            1048.       if (SSL3_BUFFER_get_left(wb) != 0) {
            1049.           OPENSSL_assert(0);      /* XDTLS: want to see if we ever get here */
            1050.           return (ssl3_write_pending(s, type, buf, len));
                                    ^
            1051.       }
            1052.   

ssl/record/rec_layer_s3.c:999:1: <LHS trace>
997.   
998.   /* if s->s3->wbuf.left != 0, we need to call this */
999. > int ssl3_write_pending(SSL *s, int type, const unsigned char *buf,
1000.                          unsigned int len)
1001.   {

ssl/record/rec_layer_s3.c:999:1: Parameter `s->rlayer.numwpipes`
              997.   
              998.   /* if s->s3->wbuf.left != 0, we need to call this */
              999. > int ssl3_write_pending(SSL *s, int type, const unsigned char *buf,
              1000.                          unsigned int len)
              1001.   {

ssl/record/rec_layer_s3.c:1018:20: Binary operation: ([0, max(1, s->rlayer.numwpipes)] - 1):unsigned32 by call to `dtls1_handle_timeout` 
              1016.           /* Loop until we find a buffer we haven't written out yet */
              1017.           if (SSL3_BUFFER_get_left(&wb[currbuf]) == 0
              1018.                   && currbuf < s->rlayer.numwpipes - 1) {
                                         ^
              1019.               currbuf++;
              1020.               continue;
