aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickrepeater.cpp
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@digia.com>2013-04-18 11:20:57 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-22 11:49:53 +0200
commit3e3b5709025d3564215cfca4f9aa5da95742a61f (patch)
treecac43a61a47259491f311e1522f246c2979d1454 /src/quick/items/qquickrepeater.cpp
parent27da851843b12a2379f084d5e3e53a471bd188dd (diff)
Prevent segfault on trying to access null cacheItem object.
In the situation mentioned in the bug report, a segfault occurs in QQmlDelegateModelPrivate::incubatorStatusChanged. This happens because cacheItem's object member is null but is still accessed several times. This patch adds a check for null before operating on the pointer. Task-number: QTBUG-29727 Change-Id: Ia4c0699442c6d0f50e090b401a58ed06c69b351a Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
Diffstat (limited to 'src/quick/items/qquickrepeater.cpp')
0 files changed, 0 insertions, 0 deletions