Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-1461

Incorrect data received through Maemo SSH connection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • Remote Linux
    • None
    • 10ac946825f8df9a5f3916e4507ac2ba492ddc4e, 5a6de0ad5e18e6770ac1e4f6d4def22f1847c85e

      Incorrect data received through Maemo SSH connection in the latest Qt Creator master branch.

      MaemoSshRunner ( src/plugins/qt4projectmanager/qt-maemo/maemosshthread.cpp ) incorrectly handles m_potentialEndMarkerPrefix in some cases.

      1) (very rarely) m_potentialEndMarkerPrefix is not cleared between different actions.

      2) (very often) void MaemoSshRunner::handleRemoteOutput() - m_potentialEndMarkerPrefix is forgotten in case if in current data packet is 2nd (last) EndMarker only. Data emitted to remoteOutput becomes incorrect, the end of the previous received packet is duplicated (m_potentialEndMarkerPrefix).
      So briefly it means that this data is often useless for clients e.g. any automatic data parser.

      Simple patch to show both bugs is attached.

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

            kandeler Christian Kandeler
            mdn Denis Mingulov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes