1 |
commit: 519249c8efcec2cb343f4ad12f9717e05a6ba3b9 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jun 24 18:13:17 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 25 07:30:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=519249c8 |
7 |
|
8 |
sys-fs/ntfs3g: remove unused patch |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/16403 |
11 |
Package-Manager: Portage-2.3.101, Repoman-2.3.22 |
12 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
13 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
14 |
|
15 |
.../files/ntfs3g-2016.2.22-CVE-2017-0358.patch | 40 ---------------------- |
16 |
1 file changed, 40 deletions(-) |
17 |
|
18 |
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 |
19 |
deleted file mode 100644 |
20 |
index 1ce7e9cdae3..00000000000 |
21 |
--- a/sys-fs/ntfs3g/files/ntfs3g-2016.2.22-CVE-2017-0358.patch |
22 |
+++ /dev/null |
23 |
@@ -1,40 +0,0 @@ |
24 |
-diff --git a/src/lowntfs-3g.c b/src/lowntfs-3g.c |
25 |
-index 0bb38f97..c6d1dad3 100644 |
26 |
---- a/src/lowntfs-3g.c |
27 |
-+++ b/src/lowntfs-3g.c |
28 |
-@@ -3827,13 +3827,14 @@ static fuse_fstype load_fuse_module(void) |
29 |
- struct stat st; |
30 |
- pid_t pid; |
31 |
- const char *cmd = "/sbin/modprobe"; |
32 |
-+ char *env = (char*)NULL; |
33 |
- struct timespec req = { 0, 100000000 }; /* 100 msec */ |
34 |
- fuse_fstype fstype; |
35 |
- |
36 |
- if (!stat(cmd, &st) && !geteuid()) { |
37 |
- pid = fork(); |
38 |
- if (!pid) { |
39 |
-- execl(cmd, cmd, "fuse", NULL); |
40 |
-+ execle(cmd, cmd, "fuse", NULL, &env); |
41 |
- _exit(1); |
42 |
- } else if (pid != -1) |
43 |
- waitpid(pid, NULL, 0); |
44 |
-diff --git a/src/ntfs-3g.c b/src/ntfs-3g.c |
45 |
-index 268b0569..945fc0be 100644 |
46 |
---- a/src/ntfs-3g.c |
47 |
-+++ b/src/ntfs-3g.c |
48 |
-@@ -3612,13 +3612,14 @@ static fuse_fstype load_fuse_module(void) |
49 |
- struct stat st; |
50 |
- pid_t pid; |
51 |
- const char *cmd = "/sbin/modprobe"; |
52 |
-+ char *env = (char*)NULL; |
53 |
- struct timespec req = { 0, 100000000 }; /* 100 msec */ |
54 |
- fuse_fstype fstype; |
55 |
- |
56 |
- if (!stat(cmd, &st) && !geteuid()) { |
57 |
- pid = fork(); |
58 |
- if (!pid) { |
59 |
-- execl(cmd, cmd, "fuse", NULL); |
60 |
-+ execle(cmd, cmd, "fuse", NULL, &env); |
61 |
- _exit(1); |
62 |
- } else if (pid != -1) |
63 |
- waitpid(pid, NULL, 0); |