qt6-bb10/tests/auto/corelib/io/qprocess
Thiago Macieira 60bdf2b220 QProcess: fix startCommand() with whitespace-only strings
We'd end up trying to takeFirst() from an empty QStringList.

[ChangeLog][QtCore][QProcess] Fixed a bug that would cause
startCommand() to crash if passed a string that was empty or contained
only whitespace characters.

Fixes: QTBUG-124512
Pick-to: 6.5 6.6 6.7
Change-Id: I455fe22ef4ad4b2f9b01fffd17c7689095c39272
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2024-04-19 20:24:42 -07:00
..
fileWriterProcess Tests: make some QFile::open calls fail 2024-04-13 01:36:06 +02:00
test QProcess: add testUnixProcessParameters as a dep. for tst_qprocess 2023-06-18 20:32:30 +03:00
testBatFiles
testDetached Change license for tests files 2024-02-04 09:56:42 +01:00
testExitCodes Change license for tests files 2024-02-04 09:56:42 +01:00
testForwarding Change license for tests files 2024-02-04 09:56:42 +01:00
testForwardingHelper Change license for tests files 2024-02-04 09:56:42 +01:00
testGuiProcess Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessCrash Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessDeadWhileReading Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessEOF Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessEcho Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessEcho2 Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessEcho3 Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessEchoGui Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessEnvironment Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessHang Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessNormal Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessOutput Change license for tests files 2024-02-04 09:56:42 +01:00
testProcessSpacesArgs Change license for tests files 2024-02-04 09:56:42 +01:00
testSetNamedPipeHandleState Change license for tests files 2024-02-04 09:56:42 +01:00
testSetWorkingDirectory Change license for tests files 2024-02-04 09:56:42 +01:00
testSoftExit Change license for tests files 2024-02-04 09:56:42 +01:00
testSpaceInName Change license for tests files 2024-02-04 09:56:42 +01:00
testUnixProcessParameters Change license for tests files 2024-02-04 09:56:42 +01:00
.gitignore
CMakeLists.txt CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
crasher.h Change license for tests files 2024-02-04 09:56:42 +01:00
tst_qprocess.cpp QProcess: fix startCommand() with whitespace-only strings 2024-04-19 20:24:42 -07:00