diff options
author | Robert Loehning <robert.loehning@qt.io> | 2020-08-03 22:42:23 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2020-08-25 17:59:10 +0200 |
commit | c0d0949448c5a75d50ca189974d4d9f48133aea8 (patch) | |
tree | 4754cd61f7f61289c2171a93e6716b7165bef9f2 /src/gui/kernel/qguiapplication.cpp | |
parent | e1d7df5ce9eb1d370e1b6dcd31ced4029082d63d (diff) |
QLineF: Don't try calculating a unit vector when length is null
It's undefined and causes a division by zero.
Fixes: oss-fuzz-24561
Pick-to: 5.12 5.15
Change-Id: Idebaba4b286e3ab0ecb74825d203244958ce6aec
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/kernel/qguiapplication.cpp')
0 files changed, 0 insertions, 0 deletions