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

MQTT protocol violation error on big endian CPU

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 5.15.2
    • MQTT
    • None
    • Linux/Other display system

    Description

      mqtt client can't connect to broker, cause m_currentPacket data corrupted on big endian systems (in qmqttconnection.cpp):

      readBuffer(reinterpret_cast<char *>(&m_currentPacket), 1);

      my temporary fix (in qmqttcontrolpacket_p.h):

      enum PacketType : quint8 {
      ...

       

      Attachments

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

        Activity

          People

            mkalinow Maurice Kalinowski
            u236 Ilia Titov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes