diff options
Diffstat (limited to 'source/x/x11/patch')
-rw-r--r-- | source/x/x11/patch/libX11.patch | 1 | ||||
-rw-r--r-- | source/x/x11/patch/libX11/libX11.fix_size.diff | 20 |
2 files changed, 0 insertions, 21 deletions
diff --git a/source/x/x11/patch/libX11.patch b/source/x/x11/patch/libX11.patch deleted file mode 100644 index c69e0e2d..00000000 --- a/source/x/x11/patch/libX11.patch +++ /dev/null @@ -1 +0,0 @@ -zcat $CWD/patch/libX11/libX11.fix_size.diff.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; } diff --git a/source/x/x11/patch/libX11/libX11.fix_size.diff b/source/x/x11/patch/libX11/libX11.fix_size.diff deleted file mode 100644 index ab2a0cf7..00000000 --- a/source/x/x11/patch/libX11/libX11.fix_size.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- ./modules/im/ximcp/imRmAttr.c.orig 2020-07-31 08:46:40.000000000 -0500 -+++ ./modules/im/ximcp/imRmAttr.c 2020-08-02 13:07:15.343940851 -0500 -@@ -265,7 +265,7 @@ - - if (num > (USHRT_MAX / sizeof(XIMStyle))) - return False; -- if ((sizeof(num) + (num * sizeof(XIMStyle))) > data_len) -+ if ((2 * sizeof(CARD16) + (num * sizeof(CARD32))) > data_len) - return False; - alloc_len = sizeof(XIMStyles) + sizeof(XIMStyle) * num; - if (alloc_len < sizeof(XIMStyles)) -@@ -379,7 +379,7 @@ - - if (num > (UINT_MAX / sizeof(XIMHotKeyTrigger))) - return False; -- if ((sizeof(num) + (num * sizeof(XIMHotKeyTrigger))) > data_len) -+ if ((2 * sizeof(CARD16) + (num * 3 * sizeof(CARD32))) > data_len) - return False; - alloc_len = sizeof(XIMHotKeyTriggers) - + sizeof(XIMHotKeyTrigger) * num; |