summaryrefslogtreecommitdiffstats
path: root/tests/auto/qpluginloader/qpluginloader.pro
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-12-18 05:55:07 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-12-18 05:58:33 (GMT)
commit4a580b972a90660dc90ef7becea5dfde2a056a4b (patch)
tree2994a1002cbb7242fa1989da0c170e9b8de2f323 /tests/auto/qpluginloader/qpluginloader.pro
parent87777f7c0f4c3e338d23d2c3d368a8a484a35a6e (diff)
downloadQt-4a580b972a90660dc90ef7becea5dfde2a056a4b.zip
Qt-4a580b972a90660dc90ef7becea5dfde2a056a4b.tar.gz
Qt-4a580b972a90660dc90ef7becea5dfde2a056a4b.tar.bz2
Prevent access to non-existent memory in triagulating stroker
In the triangulating stroker, the last point was being duplicated in dashed paths. But because QDataBuffer::add() takes a ref to a float rather than a float, it would resize the data buffer and then try to fetch the values out of a pointer to the original buffer memory. This change copies the values into temporary variables before resizing the array. Task-number: QTBUG-6045 Reviewed-by: Sarah Smith
Diffstat (limited to 'tests/auto/qpluginloader/qpluginloader.pro')
0 files changed, 0 insertions, 0 deletions