summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2015-12-08 18:28:24 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2015-12-10 17:07:56 +0000
commit40c927e7331ea4ac9ca50de48560b700e657cded (patch)
tree7a6b6661912b20055abecde1a661fe73061cd241 /src/plugins/imageformats
parent0d54b0f4ddb3ec3e14f39d954eb43b10100bbce9 (diff)
XCB: prevent a fp division by zero
For certain devices vci->resolution is zero, which causes a SIGFPE if FE_INVALID exceptions are enabled. Try to prevent that. Task-number: QTBUG-42717 Change-Id: I388735f5dfb6218496787dbb74cf0c0f43cc928f Reviewed-by: Alexander Volkov <a.volkov@rusbitech.ru> Reviewed-by: Błażej Szczygieł <spaz16@wp.pl> Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
Diffstat (limited to 'src/plugins/imageformats')
0 files changed, 0 insertions, 0 deletions