qt5base-lts/tests/auto/gui/image
aavit a3a4114f53 Fixes: out of bounds memory access in QImage autotest
A pointer to the data of one qimage is used, with an offset, in a copy.
In the mono case, that could lead to overflow: the last row would
of the copy would stretch 1 byte beyond the end of the allocated
area. Fix by reducing the height of the copy, so that it keeps
within the allocated memory.

Task-number: QTBUG-28322

Change-Id: I09abfc83f738f8af000fc50f8c94f63dba3a6cfe
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
2012-12-20 16:48:36 +01:00
..
qicoimageformat Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qicon Scale icons returned by QIcon::fromTheme. 2012-10-10 08:45:22 +02:00
qimage Fixes: out of bounds memory access in QImage autotest 2012-12-20 16:48:36 +01:00
qimageiohandler Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qimagereader Fix GIF image decoding: do not zero transparent pixels 2012-11-09 16:07:51 +01:00
qimagewriter Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qmovie Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qpicture Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qpixmap test: Remove dead code from tst_QPixmap 2012-10-27 00:24:16 +02:00
qpixmapcache Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
image.pro QIcon: move back to QtGui 2012-05-18 21:42:38 +02:00