qt5base-lts/tests/auto/corelib
Ulf Hermann 9ab043b688 QFileSystemEngine: Consistently check for invalid file names
stat() and friends expect a null-terminated C string. There is no way to
generate anything useful from a string that has null bytes in the
middle. It's important to catch this early, as otherwise, for example, a
QDir::exists() on such a path can return true, as the path is silently
truncated.

Extend the checks for empty file names to windows and add checks for null
bytes.

Change-Id: Ie9794c3a7c4fd57f9a66bdbbab8b45a08b6f9170
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-10-24 13:37:22 +02:00
..
animation Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
codecs Port from QStringViewLiteral to u"" 2019-07-29 11:17:28 +03:00
global Win32: Consolidate registry code 2019-10-14 20:26:42 +02:00
io QFileSystemEngine: Consistently check for invalid file names 2019-10-24 13:37:22 +02:00
itemmodels Itemmodel tests: remove foreach usage 2019-08-19 19:10:06 +02:00
kernel Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
mimetypes Remove handling of missing Q_COMPILER_RVALUE_REFS 2019-05-01 20:24:45 +00:00
plugin Disable debug-and-release builds for MinGW 2019-09-18 06:28:16 +00:00
serialization Featurize support for signaling NaN 2019-09-30 20:05:42 +02:00
statemachine QStateMachine: Don't scream at the user 2019-10-24 10:26:03 +02:00
text Suppress deprecation warnings on a test of a deprecated QString method 2019-10-09 11:18:22 +02:00
thread Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
time Distinguish invalid datetimes from others 2019-10-11 11:59:41 +02:00
tools Merge remote-tracking branch 'origin/5.13' into 5.14 2019-10-24 10:23:44 +02:00
corelib.pro Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00