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

QmlProfiler attaches a QDataStream directly to a QFile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 4.7.0-beta1
    • QML Profiler
    • None

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes