mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
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>
This commit is contained in:
parent
0aebb5b94d
commit
ed55438366
1 changed files with 1 additions and 1 deletions
|
|
@ -300,7 +300,7 @@ _XcursorFileHeaderDestroy (XcursorFileHeader *fileHeader)
|
||||||
}
|
}
|
||||||
|
|
||||||
static XcursorFileHeader *
|
static XcursorFileHeader *
|
||||||
_XcursorFileHeaderCreate (int ntoc)
|
_XcursorFileHeaderCreate (XcursorUInt ntoc)
|
||||||
{
|
{
|
||||||
XcursorFileHeader *fileHeader;
|
XcursorFileHeader *fileHeader;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue