summaryrefslogtreecommitdiff
path: root/src/gui/statemachine/qbasickeyeventtransition.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@digia.com>2013-04-22 09:05:52 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-25 09:03:53 +0200
commit17f263905f00dfd0f01d9f5226ac06b07aa9d421 (patch)
tree74a3c528a0fa31122669d63d177d4bde206fb5cf /src/gui/statemachine/qbasickeyeventtransition.cpp
parent64e25b0dd9ae2f289f14583827070594517adebb (diff)
downloadqt4-tools-17f263905f00dfd0f01d9f5226ac06b07aa9d421.tar.gz
Fixed potential invalid memory access in OpenGL engine glyph cache.
We need to clamp glyph_height to prevent from overflowing the texture cache. A slightly similar issue was fixed for glyph_width in change 9520674b0f02aac55da6. Also, we should only increment the y_offset in the place where we check for an overflow. Task-number: QTBUG-26649 Change-Id: I297191b2ffd68a636bfced7f5284fd3b9383e988 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'src/gui/statemachine/qbasickeyeventtransition.cpp')
0 files changed, 0 insertions, 0 deletions