aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/util
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2018-06-30 09:59:44 +0900
committerDominique Martinet <asmadeus@codewreck.org>2018-06-30 11:21:22 +0900
commitf0d455f088510bf8a79aaccb2c67fc2a926b5b1a (patch)
treefb6dfffeb69e2330d6bd63b58930cbf6ad06f7b0 /include/wlr/util
parent63eb720871004219826f16e0a79a0014ac5516e4 (diff)
drm backend: overflow fixes
These operations are done in 32-bit arithmetics before being casted to 64-bit, thus can overflow before the cast. Casting early fixes the issue. Found through static analysis
Diffstat (limited to 'include/wlr/util')
0 files changed, 0 insertions, 0 deletions