qt5base-lts/tests/auto
Thiago Macieira 52a2505672 QCborValue: avoid signed integer oveflows when decoding time_t
QDateTime::fromSecsSinceEpoch() multiplies by 1000 but does not check
for overflow. That means we must do so in QCborValue validation. We
can't use mul_overflow<qint64> on 32-bit platforms, so we do a compare-
and-branch there. For 64-bit platforms, we prefer to do the
multiplication with checked overflow, as the common case is that it will
not overflow and we'll need the multiplication anyway.

Change-Id: Ibdc95e9af7bd456a94ecfffd16060cba6f1c86b8
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2020-04-30 11:00:29 +00:00
..
bic/data Add binary compatibility files for qtbase 5.14 branch 2019-12-20 10:41:11 +02:00
cmake CMake: Add support for auto-importing plugins in CMake 2019-08-12 18:23:58 +02:00
concurrent Disable warnings for the deprecated QLinkedList 2020-03-06 09:50:35 +01:00
corelib QCborValue: avoid signed integer oveflows when decoding time_t 2020-04-30 11:00:29 +00:00
dbus Deprecate constructing QFlags from a pointer 2019-11-20 19:43:38 +01:00
gui Markdown writer: omit space after opening code block fence 2020-04-20 21:08:32 +02: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 tst_PlatformSocketEngine: Removee SOURCES += of QtNetwork code 2020-04-09 09:31:04 -03:00
opengl Add default arguments to QPainterPath methods using transform 2020-03-06 21:09:48 +01:00
other Raster painting: fix dashing for separate lines 2020-03-27 12:31:01 +01:00
printsupport Remove the remaining usages of deprecated APIs of qtbase 2019-08-01 06:48:27 +02:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql QMySQL: return QVariant::ByteArray for POINT column 2020-03-15 23:00:41 +01:00
testlib Add 'pass' test to testlib selftests 2020-03-05 15:18:04 +01:00
tools Use Qt::SplitBehavior in preference to QString::SplitBehavior 2020-02-28 15:37:11 +01:00
widgets macOS: Remove a bunch of dead (forward) declarations 2020-04-15 17:33:06 +02:00
xml Merge remote-tracking branch 'origin/5.14' into 5.15 2020-03-11 11:27:49 +01:00
auto.pro winrt: Skip network auto tests for now 2018-06-22 05:02:39 +00:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00