summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/.gitignore
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2010-12-08 09:46:16 (GMT)
committerJiang Jiang <jiang.jiang@nokia.com>2010-12-08 10:03:53 (GMT)
commitd5383440d1a3e0d96cfcfa754aaefe9d30f2e022 (patch)
tree751ce32335e9897f6711ecb67e92e1b2cfacacf1 /src/xmlpatterns/.gitignore
parent8e01304939a19b65267887b220aa9814fc56b350 (diff)
downloadQt-d5383440d1a3e0d96cfcfa754aaefe9d30f2e022.zip
Qt-d5383440d1a3e0d96cfcfa754aaefe9d30f2e022.tar.gz
Qt-d5383440d1a3e0d96cfcfa754aaefe9d30f2e022.tar.bz2
Fix QWingedEdge memory usage issue
QWingedEdge should reserve the amount of segments/edges/vertices in relative to the element count instead of length of the QPainterPath passed in. This problem is especially severe when QTextLayout using it to calculate the region for full line selection highlighting, because the region used QFIXED_MAX as right most coordinate, it will cost more than 2 GB of memory allocated just for it (recorded by valgrind on Mac OS X), and cause crash in systems short of memory. Task-number: QTBUG-15823 Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/xmlpatterns/.gitignore')
0 files changed, 0 insertions, 0 deletions