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

MQTT protocol violation error on big endian CPU

XMLWordPrintable

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

      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 {
      ...

       

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

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

              Created:
              Updated:

                There are no open Gerrit changes