diff options
author | Ivan Solovev <[email protected]> | 2025-06-23 12:38:36 +0200 |
---|---|---|
committer | Ivan Solovev <[email protected]> | 2025-07-02 08:46:23 +0200 |
commit | 7fec2a2594de9dcfe019546cc8026bccabd12648 (patch) | |
tree | dd24b36054c3129a9894ac8cc14613dadb4280d9 /src/testlib/qjunittestlogger.cpp | |
parent | 23441921a5e0b7e92bc42def8664fc2cfc7b7c5f (diff) |
The type normalization code was crashing when passing a nullptr.
Fix it by explicitly checking the begin == end case in QTypeNormalizer
code.
Modify the test code to make the difference between a nullptr and an
empty string obvious, and add test-casees to cover these corner cases.
Amends 4dbac23e5354638224d8d99ba3342067c015a04b which was added for
Qt 6.0, so pick to all active Qt 6 branches.
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I0f6855d19146f18170c34061f0631f9192df8bad
Reviewed-by: Ahmad Samir <[email protected]>
Diffstat (limited to 'src/testlib/qjunittestlogger.cpp')
0 files changed, 0 insertions, 0 deletions