summaryrefslogtreecommitdiffstats
path: root/examples/network/bearercloud/bearercloud.cpp
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-04-08 15:34:51 (GMT)
committerJiang Jiang <jiang.jiang@nokia.com>2011-04-11 08:44:39 (GMT)
commitb033bb91ea6fd32989cc59904aa79db9a188bf5b (patch)
tree9d8fafe53ed61130c07afb98546dfe1a9b3de49f /examples/network/bearercloud/bearercloud.cpp
parent32372616ed942685c7367d6aee58a7fd3849cc0b (diff)
downloadQt-b033bb91ea6fd32989cc59904aa79db9a188bf5b.zip
Qt-b033bb91ea6fd32989cc59904aa79db9a188bf5b.tar.gz
Qt-b033bb91ea6fd32989cc59904aa79db9a188bf5b.tar.bz2
Make sure removed QTextBlock is invalid
If the block is removed from document block map, we will mark the right node to the current head->freelist index, but it shouldn't be accessed directly, otherwise it can cause crash because of uninitialized node. Hence we need to check if a node index is equal to current freelist index. If so, it cannot be a valid block. Task-number: QTBUG-18500 Reviewed-by: Eskil
Diffstat (limited to 'examples/network/bearercloud/bearercloud.cpp')
0 files changed, 0 insertions, 0 deletions