summaryrefslogtreecommitdiff
path: root/user/squashfs-tools/fix-compat.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-03 19:01:26 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-03 19:01:26 +0000
commit21fdc5cafaa2049fc394886159a4303bf83f6615 (patch)
tree7d5af2983d34ec39e416bee5e1e51473395fb014 /user/squashfs-tools/fix-compat.patch
parent19d027776a83db2317f8e440195059c77c2478e2 (diff)
downloadpackages-21fdc5cafaa2049fc394886159a4303bf83f6615.tar.gz
packages-21fdc5cafaa2049fc394886159a4303bf83f6615.tar.bz2
packages-21fdc5cafaa2049fc394886159a4303bf83f6615.tar.xz
packages-21fdc5cafaa2049fc394886159a4303bf83f6615.zip
user/squashfs-tools: [CVE] bump to 4.4, modernise (#163)
Diffstat (limited to 'user/squashfs-tools/fix-compat.patch')
-rw-r--r--user/squashfs-tools/fix-compat.patch28
1 files changed, 9 insertions, 19 deletions
diff --git a/user/squashfs-tools/fix-compat.patch b/user/squashfs-tools/fix-compat.patch
index 2a3b33ca9..e93b6b827 100644
--- a/user/squashfs-tools/fix-compat.patch
+++ b/user/squashfs-tools/fix-compat.patch
@@ -1,6 +1,6 @@
---- squashfs4.3.orig/squashfs-tools/action.c
-+++ squashfs4.3/squashfs-tools/action.c
-@@ -1905,6 +1905,9 @@
+--- squashfs-tools/action.c
++++ squashfs-tools/action.c
+@@ -2236,6 +2236,9 @@
return 1;
}
@@ -10,9 +10,9 @@
TEST_FN(name, ACTION_ALL_LNK, \
return fnmatch(atom->argv[0], action_data->name,
---- squashfs4.3.orig/squashfs-tools/mksquashfs.c
-+++ squashfs4.3/squashfs-tools/mksquashfs.c
-@@ -4391,6 +4391,9 @@
+--- squashfs-tools/mksquashfs.c
++++ squashfs-tools/mksquashfs.c
+@@ -4665,6 +4665,9 @@
return paths;
}
@@ -22,19 +22,9 @@
int excluded_match(char *name, struct pathname *path, struct pathnames **new)
{
---- squashfs4.3.orig/squashfs-tools/pseudo.c
-+++ squashfs4.3/squashfs-tools/pseudo.c
-@@ -32,6 +32,7 @@
- #include <stdlib.h>
- #include <sys/types.h>
- #include <sys/wait.h>
-+#include <sys/stat.h>
- #include <ctype.h>
-
- #include "pseudo.h"
---- squashfs4.3.orig/squashfs-tools/unsquashfs.c
-+++ squashfs4.3/squashfs-tools/unsquashfs.c
-@@ -1410,6 +1410,9 @@
+--- squashfs-tools/unsquashfs.c
++++ squashfs-tools/unsquashfs.c
+@@ -1457,6 +1457,9 @@
free(paths);
}