diff options
author | Samuel Rødal <samuel.rodal@digia.com> | 2013-04-22 07:05:52 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-25 07:03:53 (GMT) |
commit | 17f263905f00dfd0f01d9f5226ac06b07aa9d421 (patch) | |
tree | 74a3c528a0fa31122669d63d177d4bde206fb5cf /tests/auto | |
parent | 64e25b0dd9ae2f289f14583827070594517adebb (diff) | |
download | Qt-17f263905f00dfd0f01d9f5226ac06b07aa9d421.zip Qt-17f263905f00dfd0f01d9f5226ac06b07aa9d421.tar.gz Qt-17f263905f00dfd0f01d9f5226ac06b07aa9d421.tar.bz2 |
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 'tests/auto')
0 files changed, 0 insertions, 0 deletions