summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qblittable.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-01-26 12:07:53 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-01-27 15:35:17 +0000
commitf16f194a62a775641e28ef820ca1523d26625395 (patch)
tree33644d73cb2c123aac5606479f40287a30909838 /src/gui/painting/qblittable.cpp
parent54980200c79b466a276a4d3054390e4b3162e9ed (diff)
Protect against sign-change of size on 32bit
Since qsizetype is signed and the profileSize unsigned, it can turn negative circumventing the test here. Fixes oss-fuzz issue 29278. Change-Id: I1e211c78db6f4ff150613f52d8fc29807f0088ff Reviewed-by: Robert Löhning <robert.loehning@qt.io> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> (cherry picked from commit 05741b404ad5a8f9a490191a347e67c61456a89c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/gui/painting/qblittable.cpp')
0 files changed, 0 insertions, 0 deletions