aboutsummaryrefslogtreecommitdiffstats
path: root/cursor
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2021-05-02 21:35:23 +0200
committerTobias Stoeckmann <tobias@stoeckmann.org>2021-05-02 21:35:23 +0200
commited55438366e93d70867e3ba6b80978673e536fc0 (patch)
treeb05abcba2fc4e2f6b6b76c59d8c491629f173dea /cursor
parentcursor: add one more directory to XCURSORPATH (diff)
downloadwayland-ed55438366e93d70867e3ba6b80978673e536fc0.tar
wayland-ed55438366e93d70867e3ba6b80978673e536fc0.tar.gz
wayland-ed55438366e93d70867e3ba6b80978673e536fc0.tar.bz2
wayland-ed55438366e93d70867e3ba6b80978673e536fc0.tar.lz
wayland-ed55438366e93d70867e3ba6b80978673e536fc0.tar.xz
wayland-ed55438366e93d70867e3ba6b80978673e536fc0.tar.zst
wayland-ed55438366e93d70867e3ba6b80978673e536fc0.zip
cursor: fix CVE-2013-2003
The libXcursor fix for CVE-2013-2003 has never been imported into wayland, leaving it vulnerable to it. Changing the argument type to an unsigned type is an effective merge of Ilja Van Sprundel's commit in libXcursor. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'cursor')
-rw-r--r--cursor/xcursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cursor/xcursor.c b/cursor/xcursor.c
index 3b35f1c..0506680 100644
--- a/cursor/xcursor.c
+++ b/cursor/xcursor.c
@@ -300,7 +300,7 @@ _XcursorFileHeaderDestroy (XcursorFileHeader *fileHeader)
}
static XcursorFileHeader *
-_XcursorFileHeaderCreate (int ntoc)
+_XcursorFileHeaderCreate (XcursorUInt ntoc)
{
XcursorFileHeader *fileHeader;