summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-07-21 10:15:09 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-07-21 15:53:18 +0200
commit1ee9496679ea2bf4d043937b83aa72a1b5bb6977 (patch)
tree1efa55dc42af3a63ea5ce2fd8901cc6fddbaf05d /src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm
parent6ebe3d0f0806069f906522dfe9b81baa3f3478de (diff)
Prevent array-out-of-bounds access
Fixes static analyzer warning 12b19393e18b2394a398806f633c6eee, and amends a1a6e3d21b1a4fb799dfd245fed6bb6564178894. In the process, replace the "int& *= double" with correct integer arithmetic that'll produce the intended result without going via double. Done-with: Edward Welbourne <edward.welbourne@qt.io> Pick-to: 6.2 Task-number: QTBUG-8096 Change-Id: Ib2aa8ae46a1bfd4d121e61cf99141c0311502215 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm')
0 files changed, 0 insertions, 0 deletions