qt6-bb10/tests/auto/network/socket
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
..
platformsocketengine Autotest: Print errno in case of failure 2015-08-22 22:26:27 +00:00
qabstractsocket Move the socket test to an appropriate file 2015-02-23 16:33:54 +00:00
qhttpsocketengine QHttpSocketEngine: ensure pending EOF triggers a notification 2016-01-18 11:08:34 +00:00
qlocalsocket QWindowsPipeWriter: ensure validity of the write buffer 2016-04-30 13:13:26 +00:00
qsocks5socketengine QAbstractSocketEngine: introduce QIpPacketHeader for datagrams 2015-08-22 22:26:23 +00:00
qtcpserver Windows/tst_QTcpServer: Suppress crash notification of crashingServer. 2016-04-23 06:09:44 +00:00
qtcpsocket Merge remote-tracking branch 'origin/5.5' into 5.6 2016-01-19 10:03:01 +01:00
qudpsocket tst_qudpsocket::multicast - blacklist several combinations 2015-10-30 22:01:50 +00:00
socket.pro WinRT: Fixed compilation of network autotests and benchmarks 2013-12-06 15:06:47 +01:00