qt5base-lts/src
Marc Mutz 0f9148ac9b QRegion: fix a valgrind warning
When:
 - i == 0 (at end of current POINTBLOCK),
 - numFullPtBlocks == 1 (only one more POINTBLOCK left) and
 - iCurPtBlock == 0 (last block contains no points),
Valgrind rightfully complained about an invalid read:

 Conditional jump or move depends on uninitialised value(s)
    at 0x517B08B: PolygonRegion(QPoint const*, int, int) (qregion.cpp:3480)

Fixed by setting 'next' to nullptr when !numFullPtBlocks OR !iCurPtBlock.

Change-Id: If5225fdfa66f2910a8aafb675cd02b40c0a81ad9
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2014-10-02 20:57:19 +02:00
..
3rdparty ANGLE: Upgrade to 2.1~abce76206141 2014-09-29 16:09:29 +02:00
android Android: Don't include Apache code under LGPLv2 license 2014-10-02 05:59:17 +02:00
angle ANGLE: Upgrade to 2.1~abce76206141 2014-09-29 16:09:29 +02:00
concurrent Update license headers and add new license files 2014-09-24 12:26:19 +02:00
corelib Update the signal and slots docs 2014-10-02 12:03:26 +02:00
dbus Doc: Use title case in section1 titles 2014-09-30 13:52:51 +02:00
gui QRegion: fix a valgrind warning 2014-10-02 20:57:19 +02:00
network Merge "Merge remote-tracking branch 'origin/5.3' into 5.4" into refs/staging/5.4 2014-10-01 16:21:12 +02:00
opengl Doc: Use title case in section1 titles 2014-09-30 13:52:51 +02:00
openglextensions purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00
platformheaders Doc: Adding API reference section in Qt Platform Headers page. 2014-09-30 21:00:50 +02:00
platformsupport Update license headers and add new license files 2014-09-24 12:26:19 +02:00
plugins iOS: Move statusbar visibility handling to QIOSViewController 2014-10-02 13:58:01 +02:00
printsupport Handle PPK_CustomBase in QWin32PrintEngine::property 2014-09-30 09:45:07 +02:00
sql Expose QSqlDriverPrivate dbmsType in public QSqlDriver api 2014-09-24 14:44:49 +02:00
testlib Doc: Use title case in section1 titles 2014-09-30 13:52:51 +02:00
tools Merge "Merge remote-tracking branch 'origin/5.3' into 5.4" into refs/staging/5.4 2014-10-01 16:21:12 +02:00
widgets Revert "Don't generate documentation for classes which are not available" 2014-10-02 13:57:34 +02:00
winmain Merge remote-tracking branch 'origin/5.3' into 5.4 2014-08-12 13:05:02 +02:00
xml Update license headers and add new license files 2014-09-24 12:26:19 +02:00
src.pro Remove vestiges of d3dcompiler_qt 2014-09-02 21:55:41 +02:00