mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-08 13:29:47 -05:00
If cursor files require more than INT_MAX bytes, it is possible to
trigger out of boundary writes.
Since these sizes are most likely not desired anyway, gracefully
handle these situations like out of memory errors.
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 | ||