summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qmetatype.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2022-01-12 09:53:14 -0800
committerThiago Macieira <thiago.macieira@intel.com>2022-01-12 16:36:54 -0800
commited753eb5fbd29f323077ac7475fde66ec6a0a12f (patch)
tree1430068b1f60532461df1eab8ee0d536d33b030f /src/corelib/kernel/qmetatype.h
parent0c3a56b621e28648a3bdfdc14bf68df37ea2a126 (diff)
QString::compare: fix comparing a 4GB string to 1 QChar
If the size() was larger than INT_MAX, the result would be wrong (and UB). Pick-to: 6.2 6.3 Change-Id: I0e5f6bec596a4a78bd3bfffd16c99763e66c2013 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetatype.h')
0 files changed, 0 insertions, 0 deletions