Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-64784

QUdpSocket::readDatagram incorrectly fills the host and port values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.4
    • 5.9.3
    • Network: Sockets
    • None
    • 6a9d076e87f0c8aa4fb49bbcc2f56eefd85af2e3

    Description

      QUdpSocket::readDatagram incorrectly fills the host and port values

      I've prepared the unit test (compatible with qt unit tests) for your convenience

      https://github.com/tz-lom/qt-udpsocket-bug

      Test passes on Qt 5.9.2 (i386-little_endian-ilp32 shared (dynamic) debug build; by GCC 5.3.0)

      but fails on Qt 5.9.3 (i386-little_endian-ilp32 shared (dynamic) debug build; by GCC 5.3.0)

      (both were MinGW builds from the official distribution)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              tpochep Timur Pocheptsov
              tz-lom Nuzhdin Urii
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes