aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tar/patches
diff options
context:
space:
mode:
authorDaniel Engberg <daniel.engberg.lists@pyret.net>2019-02-10 11:53:02 +0000
committerHans Dedecker <dedeckeh@gmail.com>2019-02-10 20:47:58 +0100
commit1d1dabdf0a6e848f211d58c7fb8867f21496b61f (patch)
tree32e583e296f5cca466943d7132bbb188c0a6f104 /tools/tar/patches
parente3311cb13846eac56452313ef723f2ef277380fd (diff)
downloadupstream-1d1dabdf0a6e848f211d58c7fb8867f21496b61f.tar.gz
upstream-1d1dabdf0a6e848f211d58c7fb8867f21496b61f.tar.bz2
upstream-1d1dabdf0a6e848f211d58c7fb8867f21496b61f.zip
tools/tar: Update to 1.31
Update tar to 1.31 Fixes CVE-2018-20482 Switch to tar.xz tarball Refresh patches Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Diffstat (limited to 'tools/tar/patches')
-rw-r--r--tools/tar/patches/100-symlink-force-root-name.patch2
-rw-r--r--tools/tar/patches/110-symlink-force-permissions.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/tar/patches/100-symlink-force-root-name.patch b/tools/tar/patches/100-symlink-force-root-name.patch
index 93f889761b..8a8ebc0c4c 100644
--- a/tools/tar/patches/100-symlink-force-root-name.patch
+++ b/tools/tar/patches/100-symlink-force-root-name.patch
@@ -5,7 +5,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
--- a/src/create.c
+++ b/src/create.c
-@@ -544,17 +544,8 @@ write_gnu_long_link (struct tar_stat_inf
+@@ -543,17 +543,8 @@ write_gnu_long_link (struct tar_stat_inf
union block *header;
header = start_private_header ("././@LongLink", size, 0);
diff --git a/tools/tar/patches/110-symlink-force-permissions.patch b/tools/tar/patches/110-symlink-force-permissions.patch
index 6fb799bc0a..e9a32f7d13 100644
--- a/tools/tar/patches/110-symlink-force-permissions.patch
+++ b/tools/tar/patches/110-symlink-force-permissions.patch
@@ -1,6 +1,6 @@
--- a/src/create.c
+++ b/src/create.c
-@@ -1853,6 +1853,7 @@ dump_file0 (struct tar_stat_info *st, ch
+@@ -1852,6 +1852,7 @@ dump_file0 (struct tar_stat_info *st, ch
#ifdef HAVE_READLINK
else if (S_ISLNK (st->stat.st_mode))
{