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

QmlProfiler attaches a QDataStream directly to a QFile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.7.0-beta1
    • QML Profiler
    • 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

            ulherman Ulf Hermann
            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