summaryrefslogtreecommitdiffstats
path: root/tests/auto/qinputcontext
diff options
context:
space:
mode:
authorTopi Reiniƶ <topi.reinio@nokia.com>2010-11-04 13:20:02 (GMT)
committerTopi Reiniƶ <topi.reinio@nokia.com>2010-11-04 13:20:02 (GMT)
commit440888de851daad78d89f2958aa95e9193832fb5 (patch)
tree5a0fac499bbba1154dd5bb5c90fda0de28c1435f /tests/auto/qinputcontext
parent018c0ebc7d7ffaa55bf5a80b2a8a0e3ee1ebcc7b (diff)
downloadQt-440888de851daad78d89f2958aa95e9193832fb5.zip
Qt-440888de851daad78d89f2958aa95e9193832fb5.tar.gz
Qt-440888de851daad78d89f2958aa95e9193832fb5.tar.bz2
Prevent access to non-existent memory in QGL2PEXVertexArray
QGL2PEXVertexArray::addClosingLine() uses using QDataBuffer::add() to add a QPointF at the end, with a const reference to another value in the same array. As add() resizes and possibly relocates the buffer, an already-released memory location may be accessed. This change copies the value into a temporary variable before resizing the array. Task-number: QTBUG-14944 Reviewed-by: Samuel
Diffstat (limited to 'tests/auto/qinputcontext')
0 files changed, 0 insertions, 0 deletions