Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5, 6.8, 6.9.0
-
3
-
Foundation Sprint 130
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.