diff options
author | Zhang Hao <zhanghao@uniontech.com> | 2021-12-13 16:04:37 +0800 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-12-21 04:27:13 +0000 |
commit | 0663d15da6e8a014bb6a22783036a43172eaedcc (patch) | |
tree | a5b1e1e3d1e475e42e05b3bfeec056b49a9cb2b5 /tests | |
parent | 788392e106e05ad54f1719d77886d5e7ff23af8e (diff) | |
download | qtbase-0663d15da6e8a014bb6a22783036a43172eaedcc.tar.gz |
Use qint64 to replace int while qt_transform_image_rasterize
When rotating a very large image(for example,the image size is
42000*24000),using QTransform will cause the the variable of the
qt_transform_image_rasterize function exceeds the range of int.
Fix this by Use qint64 to replace int.
Fixes: QTBUG-99163
Done-with: Eirik Aavitsland <eirik.aavitsland@qt.io>
Change-Id: I11e2873fbb1f432953a1a8e07054f9478dd90fbd
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
(cherry picked from commit 8678ab9354e01b40e414c1413596dfb475752a9a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions