summaryrefslogtreecommitdiffstats
path: root/bin/elf2e32_qtwrapper.pl
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-09-30 09:52:17 (GMT)
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-09-30 10:39:36 (GMT)
commit6570a4612ebf128a140c0ed66ac83bfaf9670b44 (patch)
tree0c628251193806b74a3d8ec29df0f15ffe944c0c /bin/elf2e32_qtwrapper.pl
parentc4699f8940d4bb0ecd462f323c6acc3619b15b1c (diff)
downloadQt-6570a4612ebf128a140c0ed66ac83bfaf9670b44.zip
Qt-6570a4612ebf128a140c0ed66ac83bfaf9670b44.tar.gz
Qt-6570a4612ebf128a140c0ed66ac83bfaf9670b44.tar.bz2
Do not crash in copy() of pixmaps without an underlying bitmap
If CFbsBitmap::Create() fails for some reason (e.g. due to lack of memory), we may end up with a QVolatileImage for which the underlying bitmap pointer is null, resulting in the QImage wrapper being null too. The copyFrom() function was not checking for this situation and started to copy data blindly to the null QImage's bits(), which is a null pointer. This is now fixed so no copying occurs in such a scenario. Task-number: QTTH-1446 Reviewed-by: Sami Merila
Diffstat (limited to 'bin/elf2e32_qtwrapper.pl')
0 files changed, 0 insertions, 0 deletions