ssl/statem/statem.c:745: error: INTEGER_OVERFLOW_L2
  ([0, +oo] - 1):unsigned32 by call to `statem_do_write`.
Showing all 13 steps of the trace


ssl/statem/statem.c:675:1: Parameter `s->rlayer.numwpipes`
673.    * result in an NBIO event.
674.    */
675. > static SUB_STATE_RETURN write_state_machine(SSL *s)
676.   {
677.       OSSL_STATEM *st = &s->statem;

ssl/statem/statem.c:745:19: Call
743.                   dtls1_start_timer(s);
744.               }
745.               ret = statem_do_write(s);
                         ^
746.               if (ret <= 0) {
747.                   return SUB_STATE_ERROR;

ssl/statem/statem.c:619:1: Parameter `s->rlayer.numwpipes`
  617.    * Send a previously constructed message to the peer.
  618.    */
  619. > static int statem_do_write(SSL *s)
  620.   {
  621.       OSSL_STATEM *st = &s->statem;

ssl/statem/statem.c:626:20: Call
  624.           || st->hand_state == TLS_ST_SW_CHANGE) {
  625.           if (SSL_IS_DTLS(s))
  626.               return dtls1_do_write(s, SSL3_RT_CHANGE_CIPHER_SPEC);
                            ^
  627.           else
  628.               return ssl3_do_write(s, SSL3_RT_CHANGE_CIPHER_SPEC);

ssl/statem/statem_dtls.c:111:1: Parameter `s->rlayer.numwpipes`
    109.    * SSL3_RT_CHANGE_CIPHER_SPEC)
    110.    */
    111. > int dtls1_do_write(SSL *s, int type)
    112.   {
    113.       int ret;

ssl/statem/statem_dtls.c:239:15: Call
    237.           }
    238.   
    239.           ret = dtls1_write_bytes(s, type, &s->init_buf->data[s->init_off], len);
                         ^
    240.           if (ret < 0) {
    241.               /*

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

ssl/record/rec_layer_d1.c:911:9: Call
      909.       OPENSSL_assert(len <= SSL3_RT_MAX_PLAIN_LENGTH);
      910.       s->rwstate = SSL_NOTHING;
      911.       i = do_dtls1_write(s, type, buf, len, 0);
                     ^
      912.       return i;
      913.   }

ssl/record/rec_layer_d1.c:915:1: Parameter `s->rlayer.numwpipes`
        913.   }
        914.   
        915. > int do_dtls1_write(SSL *s, int type, const unsigned char *buf,
        916.                      unsigned int len, int create_empty_fragment)
        917.   {

ssl/record/rec_layer_d1.c:1103:12: Call
        1101.   
        1102.       /* we now just need to write the buffer */
        1103.       return ssl3_write_pending(s, type, buf, len);
                           ^
        1104.    err:
        1105.       return -1;

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

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

ssl/record/rec_layer_s3.c:897:16: Binary operation: ([0, +oo] - 1):unsigned32 by call to `statem_do_write` 
          895.           /* Loop until we find a buffer we haven't written out yet */
          896.           if (SSL3_BUFFER_get_left(&wb[currbuf]) == 0
          897.               && currbuf < s->rlayer.numwpipes - 1) {
                                ^
          898.               currbuf++;
          899.               continue;
