summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-fs/ntfs3g/files/ntfs3g-2016.2.22-CVE-2017-0358.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/sys-fs/ntfs3g/files/ntfs3g-2016.2.22-CVE-2017-0358.patch b/sys-fs/ntfs3g/files/ntfs3g-2016.2.22-CVE-2017-0358.patch
deleted file mode 100644
index 1ce7e9cdae32..000000000000
--- a/sys-fs/ntfs3g/files/ntfs3g-2016.2.22-CVE-2017-0358.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-diff --git a/src/lowntfs-3g.c b/src/lowntfs-3g.c
-index 0bb38f97..c6d1dad3 100644
---- a/src/lowntfs-3g.c
-+++ b/src/lowntfs-3g.c
-@@ -3827,13 +3827,14 @@ static fuse_fstype load_fuse_module(void)
- struct stat st;
- pid_t pid;
- const char *cmd = "/sbin/modprobe";
-+ char *env = (char*)NULL;
- struct timespec req = { 0, 100000000 }; /* 100 msec */
- fuse_fstype fstype;
-
- if (!stat(cmd, &st) && !geteuid()) {
- pid = fork();
- if (!pid) {
-- execl(cmd, cmd, "fuse", NULL);
-+ execle(cmd, cmd, "fuse", NULL, &env);
- _exit(1);
- } else if (pid != -1)
- waitpid(pid, NULL, 0);
-diff --git a/src/ntfs-3g.c b/src/ntfs-3g.c
-index 268b0569..945fc0be 100644
---- a/src/ntfs-3g.c
-+++ b/src/ntfs-3g.c
-@@ -3612,13 +3612,14 @@ static fuse_fstype load_fuse_module(void)
- struct stat st;
- pid_t pid;
- const char *cmd = "/sbin/modprobe";
-+ char *env = (char*)NULL;
- struct timespec req = { 0, 100000000 }; /* 100 msec */
- fuse_fstype fstype;
-
- if (!stat(cmd, &st) && !geteuid()) {
- pid = fork();
- if (!pid) {
-- execl(cmd, cmd, "fuse", NULL);
-+ execle(cmd, cmd, "fuse", NULL, &env);
- _exit(1);
- } else if (pid != -1)
- waitpid(pid, NULL, 0);