mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 11:55:59 +01:00
f0d455f088
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 |
||
---|---|---|
.. | ||
atomic.c | ||
backend.c | ||
drm.c | ||
legacy.c | ||
properties.c | ||
renderer.c | ||
util.c |