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

QmlProfiler attaches a QDataStream directly to a QFile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.7.0-beta1
    • Fix Version/s: None
    • Component/s: QML Profiler
    • Labels:
      None

      Description

      As recently discussed on the dev mailing list, this is dangerous because QDataStream cannot deal with short reads from the underlying device. We either need to catch the short reads somewhere, or we need to buffer the input. We might mmap the file and then wrap a custom QIODevice around the resulting memory region.

        Attachments

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

          Activity

            People

            • Assignee:
              ulherman Ulf Hermann
              Reporter:
              ulherman Ulf Hermann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes