mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-12-28 16:50:17 +01:00
If an index.theme contains a theme name which gets close to INT_MAX,
then creation of full path can lead to a signed integer overflow,
which is undefined behavior.
Fix this by turning one of the values to size_t. Easy solution for a
probably never occurring issue.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| convert_font.c | ||
| cursor-data.h | ||
| cursor.pcf | ||
| meson.build | ||
| os-compatibility.c | ||
| os-compatibility.h | ||
| wayland-cursor.c | ||
| wayland-cursor.h | ||
| xcursor.c | ||
| xcursor.h | ||