qt5base-lts/tests/auto/corelib/kernel
Konstantin Shegunov c6bee8e4b2 Fix integer overflows in QDeadlineTimer
If the deadline is far in the future, the conversions to nanoseconds
or internal arithmetic may overflow and give an invalid object, thus
the deadline may end up in the past. Added a test to the testlib
selftest for sleep.

[ChangeLog][QtCore][QDeadlineTimer] Fixed integer overflows
leading to immediate timeouts.

Task-number: QTBUG-69750
Change-Id: I9814eccdf9f9b3add9ca66ec3e27e10cd5ad54a8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-05-08 17:19:44 +00:00
..
qcoreapplication fix out-of-bounds access on trailing percent sign in tr() argument 2019-01-14 08:52:15 +00:00
qdeadlinetimer Fix integer overflows in QDeadlineTimer 2019-05-08 17:19:44 +00:00
qelapsedtimer Extend blacklisting of tst_QElapsedTimer::elapsed to cover macOS 10.13 2018-07-31 05:02:30 +00:00
qeventdispatcher tests: Distinguish tst_qeventdispatcher and tst_qguieventdispatcher 2018-11-16 14:16:09 +00:00
qeventloop tst_QEventLoop: Remove unconditional qWait() 2018-04-10 08:32:21 +00:00
qmath Be (somewhat more) consistent about the value of pi 2017-06-20 09:53:46 +00:00
qmetaenum QMetaEnum: fix UB 2018-10-17 08:48:13 +00:00
qmetamethod Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
qmetaobject corelib: invokeMethod: Allow non copyable functors to be used 2019-04-12 20:18:20 +00:00
qmetaobjectbuilder Fix QMetaObject naming of class enum flag 2018-08-11 07:59:15 +00:00
qmetaproperty Updated license headers 2016-01-21 18:55:18 +00:00
qmetatype Fix warnings about uninitialized variables 2019-01-06 10:14:36 +00:00
qmimedata Updated license headers 2016-01-21 18:55:18 +00:00
qobject Fix a nullptr compile error with gcc 4.8 2018-11-30 14:50:00 +00:00
qpointer Merge remote-tracking branch 'origin/5.6' into 5.7 2016-04-04 08:59:18 +02:00
qsharedmemory tst_qsharedmemory: Use qt_test_helper functionality 2018-07-31 05:26:59 +00:00
qsignalblocker Updated license headers 2016-01-21 18:55:18 +00:00
qsignalmapper Updated license headers 2016-01-21 18:55:18 +00:00
qsocketnotifier winrt: Fix tst_QSocketNotifier::asyncMultipleDatagram 2017-05-11 06:37:36 +00:00
qsystemsemaphore tst_qsystemsemaphore: Use qt_test_helper functionality 2018-07-31 05:27:08 +00:00
qtimer Fix blacklisting tst_QTimer::basic_chrono() 2019-02-21 05:18:00 +00:00
qtranslator Allow loading of empty translation files 2018-07-12 08:54:33 +00:00
qvariant Treat shorts as int in QVariant::canConvert() 2018-11-01 17:31:13 +00:00
qwineventnotifier Merge remote-tracking branch 'origin/5.11' into dev 2018-03-28 08:12:21 +02:00
kernel.pro Make tests compile for Android 2018-06-25 08:01:19 +00:00