qt6-bb10/src
Marc Mutz 250190b39b QMap: don't dereference nullptr
root(), leftNode() and rightNode() can be nullptr.
These pieces of code happened to work because the first thing lowerBound()
does is

   Node *n = this;
   // ...
   while (n)
     // ...

But that is _after_ dereferencing nullptr, which is undefined behavior.

So, check first, then deref.

Change-Id: I9137bf6e21014cd68404a7e49a748910b1d768cf
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2013-09-17 09:31:25 +02:00
..
3rdparty WinRT: Disable PCRE JIT 2013-09-16 12:23:46 +02:00
android Fix Android Style plugin. 2013-09-10 11:52:16 +02:00
angle ANGLE: Fix MSVC compiler warning 2013-08-16 16:04:49 +02:00
concurrent QtConcurrent::Median: add some qMove() 2013-09-13 11:47:06 +02:00
corelib QMap: don't dereference nullptr 2013-09-17 09:31:25 +02:00
dbus QMetaMethod and QDBusMetaObject: Give public access to signal methods 2013-09-09 16:21:10 +02:00
gui Un-export qt_registerFont() internal function 2013-09-16 20:25:06 +02:00
network Android: Fix unused variable/argument warnings 2013-09-09 09:02:58 +02:00
opengl Fix QtOpenGL module build with -Werror 2013-09-09 04:03:57 +02:00
openglextensions Use BSD licensing for QtOpenGLExtensions instead of LGPL 2013-06-24 10:16:32 +02:00
platformsupport Don't send posted events from QWindowSystemInterface::sendWindowSystemEvents 2013-09-16 15:22:40 +02:00
plugins Remove mentioning of 5.0 Alpha from QPA Readme 2013-09-17 09:31:19 +02:00
printsupport Add CUPS Banner Pages options to print support 2013-09-11 21:52:50 +02:00
sql Merge remote-tracking branch 'origin/stable' into dev 2013-08-27 22:51:09 +02:00
testlib QTest: use nth_element to calculate the median 2013-09-13 11:47:06 +02:00
tools qdoc: Now reports duplicate page titles better. 2013-09-16 15:35:33 +02:00
widgets Simplify QFileSystemModel::remove by using QDir::removeRecursively 2013-09-16 12:12:09 +02:00
winmain winmain for winrt 2013-09-14 15:42:24 +02:00
xml Doc: Setting module pages' \qtvariable. 2013-08-02 13:35:45 +02:00
src.pro Merge remote-tracking branch 'origin/stable' into dev 2013-08-21 11:03:18 +02:00