[arch-commits] Commit in ntfs-3g/trunk (CVE-2017-0358.patch PKGBUILD)
Gaëtan Bisson
bisson at archlinux.org
Wed Mar 29 18:38:43 UTC 2017
Date: Wednesday, March 29, 2017 @ 18:38:42
Author: bisson
Revision: 291792
upstream update
Modified:
ntfs-3g/trunk/PKGBUILD
Deleted:
ntfs-3g/trunk/CVE-2017-0358.patch
---------------------+
CVE-2017-0358.patch | 36 ------------------------------------
PKGBUILD | 11 ++++-------
2 files changed, 4 insertions(+), 43 deletions(-)
Deleted: CVE-2017-0358.patch
===================================================================
--- CVE-2017-0358.patch 2017-03-29 18:34:52 UTC (rev 291791)
+++ CVE-2017-0358.patch 2017-03-29 18:38:42 UTC (rev 291792)
@@ -1,36 +0,0 @@
---- ntfs-3g/src/lowntfs-3g.c 2016-12-31 08:56:59.011749600 +0100
-+++ ntfs-3g/src/lowntfs-3g.c 2017-01-05 14:41:52.041473700 +0100
-@@ -3827,13 +3827,14 @@
- 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);
---- ntfs-3g/src/ntfs-3g.c 2017-02-04 23:30:23.825889593 +0100
-+++ ntfs-3g/src/nfts-3g.c 2017-02-04 23:30:42.572542756 +0100
-@@ -3612,13 +3612,14 @@
- 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);
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-29 18:34:52 UTC (rev 291791)
+++ PKGBUILD 2017-03-29 18:38:42 UTC (rev 291792)
@@ -6,17 +6,15 @@
pkgname=ntfs-3g
_pkgname=ntfs-3g_ntfsprogs
-pkgver=2016.2.22
-pkgrel=2
+pkgver=2017.3.23
+pkgrel=1
pkgdesc='NTFS filesystem driver and utilities'
url='https://www.tuxera.com/community/open-source-ntfs-3g/'
arch=('i686' 'x86_64')
license=('GPL2')
depends=('util-linux' 'fuse2')
-source=("https://tuxera.com/opensource/${_pkgname}-${pkgver}.tgz"
- CVE-2017-0358.patch)
-sha256sums=('d7b72c05e4b3493e6095be789a760c9f5f2b141812d5b885f3190c98802f1ea0'
- '4d849c4e3e53e07b7275239112b63c3dbec1dfa7a9cfbf674c670e1b1aa70fac')
+source=("https://tuxera.com/opensource/${_pkgname}-${pkgver}.tgz")
+sha256sums=('3e5a021d7b761261836dcb305370af299793eedbded731df3d6943802e1262d5')
conflicts=('ntfsprogs')
provides=('ntfsprogs')
@@ -25,7 +23,6 @@
prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
sed 's|$(DESTDIR)/sbin|$(DESTDIR)/usr/bin|' -i {ntfsprogs,src}/Makefile.in
- patch -p1 < "${srcdir}/CVE-2017-0358.patch"
}
build() {
More information about the arch-commits
mailing list