summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawhelper_ssse3.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@digia.com>2013-02-25 08:58:34 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-22 05:46:42 (GMT)
commit3e4c589d2f067482e5c46180b48bc7a94a96c4e6 (patch)
treefe4087c696fdd3a16d6616227d5d02181ce85e12 /src/gui/painting/qdrawhelper_ssse3.cpp
parentb82b8bfa811adcf11cb8d07d662fd2b9642deebc (diff)
downloadQt-3e4c589d2f067482e5c46180b48bc7a94a96c4e6.zip
Qt-3e4c589d2f067482e5c46180b48bc7a94a96c4e6.tar.gz
Qt-3e4c589d2f067482e5c46180b48bc7a94a96c4e6.tar.bz2
Fixed potential access violation in QPixmap::copy() for <32 bit pixmaps.
QImage is supposed to maintain the invariant that each scan-line begins on a 4-byte boundary, so we need to verify that this is the case before using the optimized path of short-cutting QImage::copy() by referencing the source image's bits directly. Task-number: QTBUG-14766 Change-Id: I0a178aeb2f34cc64f98deae9470b55b5c53fcb06 Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com> (cherry picked from commit 711773776ed324efce7f1ed227104da9c7e21e05) Reviewed-by: aavit <eirik.aavitsland@digia.com>
Diffstat (limited to 'src/gui/painting/qdrawhelper_ssse3.cpp')
0 files changed, 0 insertions, 0 deletions