Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-11285

uTorrent 3.4.7 crashes in schan_DecryptMessage on start

    XMLWordPrintable

Details

    Description

      We somehow get a received > data_size situation, so we overrun the data buffer.
      The reason is that schan_imp_recv's check for ROS_SCHAN_IS_BLOCKING is broken – it also triggers for error codes such as MBEDTLS_ERR_SSL_WANT_READ or MBEDTLS_ERR_SSL_WANT_WRITE.

      Looking at the function, the MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY also seems broken – it should probably return a length of 0.

      Attachments

        Issue Links

          Activity

            People

              ThFabba ThFabba
              ThFabba ThFabba
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: