qt6-bb10/tests/auto/network/socket/qlocalsocket
Alex Trotsenko a4d26cf522 QWindowsPipeWriter: ensure validity of the write buffer
QWindowsPipeWriter uses asynchronous API to perform writing. Once a cycle
has been started, the write buffer must remain valid until the write
operation is completed.

To avoid data corruption and possibly undefined behavior, this patch
makes QWindowsPipeWriter::write() take a QByteArray, which it keeps alive
for the duration of the write cycle.

Autotest-by: Thomas Hartmann
Task-number: QTBUG-52401
Change-Id: Ia35faee735c4e684267daa1f6bd689512b670cd2
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2016-04-30 13:13:26 +00:00
..
socketprocess Update copyright headers 2015-02-11 06:49:51 +00:00
test
.gitignore
qlocalsocket.pro
tst_qlocalsocket.cpp QWindowsPipeWriter: ensure validity of the write buffer 2016-04-30 13:13:26 +00:00