qt5base-lts/tests/auto
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
..
android Fix typo in test results report for android 2015-07-28 21:16:19 +00:00
bic/data bic: Add 5.{1,2,3,4}.0 bic data for linux-gcc-amd64 2015-02-14 06:54:20 +00:00
cmake Enable cmake auto tests for -no-gui 2016-03-30 07:16:50 +00:00
compilerwarnings/data Fixed license headers 2015-02-17 18:46:09 +00:00
concurrent Tests: Replace Q[TRY]_VERIFY(v == true|false) by QVERIFY(v)|QVERIFY(!v). 2015-07-27 12:09:19 +00:00
corelib Autotest: fix the QTimeZone::tzTest failure when database contains LMT 2016-04-29 08:23:11 +00:00
dbus QtDBus: finish all pending call with error if disconnected 2016-04-28 05:38:10 +00:00
gui Autotest: Remove blacklistings 2016-04-01 05:41:21 +00:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network QWindowsPipeWriter: ensure validity of the write buffer 2016-04-30 13:13:26 +00:00
opengl Autotest: Remove blacklistings 2016-04-01 05:41:21 +00:00
other tst_compiler: Expand the attribute test 2016-04-28 02:45:49 +00:00
printsupport QMacPrintEngine: Really set the printer resolution 2016-02-25 18:42:47 +00:00
shared Update copyright headers 2015-02-11 06:49:51 +00:00
sql tst_QSqlQuery: fix UBs (invalid downcasts, member calls) 2016-03-15 10:39:20 +00:00
testlib Fix compilation for WinRT 2015-12-14 08:43:15 +00:00
tools moc: bail out early on missing or invalid options file 2016-03-31 08:57:39 +00:00
widgets Fix scroll regression near scroll-view ends 2016-04-29 10:25:45 +00:00
xml Fix QDomNamedNodeMap::item crash with negative index 2015-10-29 08:05:45 +00:00
auto.pro Enable cmake auto tests for -no-gui 2016-03-30 07:16:50 +00:00
network-settings.h network-settings.h: don't crash when running without the test server 2016-04-05 06:52:39 +00:00
qtest-config.h Update copyright headers 2015-02-11 06:49:51 +00:00
test.pl Update copyright headers 2015-02-11 06:49:51 +00:00