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

QUdpSocket::readDatagram incorrectly fills the host and port values

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.9.3
    • Fix Version/s: 5.9.4
    • Component/s: Network: Sockets
    • Labels:
      None
    • Commits:
      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

              • Assignee:
                tpochep Timur Pocheptsov
                Reporter:
                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