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

QXmlStreamWriter: Encoding errors in doWriteToDevice() may produce corrupted output

    XMLWordPrintable

Details

    Description

      QXmlStreamWriterPrivate::doWriteToDevice() processes input in chunks but only checks for encoding errors after processing the entire input. If an encoding error occurs in an earlier chunk, partial invalid data may already be written to the device before the error is detected.
      This results in silently corrupted XML output without triggering error in time.

      Attachments

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

        Activity

          People

            magdalenas Magdalena Stojek
            magdalenas Magdalena Stojek
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes