diff options
Diffstat (limited to 'net-misc/rsync/files/rsync-3.1.2-CVE-2017-17434-part1.patch')
-rw-r--r-- | net-misc/rsync/files/rsync-3.1.2-CVE-2017-17434-part1.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net-misc/rsync/files/rsync-3.1.2-CVE-2017-17434-part1.patch b/net-misc/rsync/files/rsync-3.1.2-CVE-2017-17434-part1.patch new file mode 100644 index 000000000000..aeb8c2ee33cb --- /dev/null +++ b/net-misc/rsync/files/rsync-3.1.2-CVE-2017-17434-part1.patch @@ -0,0 +1,22 @@ +From 5509597decdbd7b91994210f700329d8a35e70a1 Mon Sep 17 00:00:00 2001 +From: Jeriko One <jeriko.one@gmx.us> +Date: Thu, 16 Nov 2017 17:26:03 -0800 +Subject: [PATCH] Check daemon filter against fnamecmp in recv_files(). + +--- + receiver.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: rsync-3.1.2/receiver.c +=================================================================== +--- rsync-3.1.2.orig/receiver.c ++++ rsync-3.1.2/receiver.c +@@ -728,7 +728,7 @@ int recv_files(int f_in, int f_out, char + break; + } + if (!fnamecmp || (daemon_filter_list.head +- && check_filter(&daemon_filter_list, FLOG, fname, 0) < 0)) { ++ && check_filter(&daemon_filter_list, FLOG, fnamecmp, 0) < 0)) { + fnamecmp = fname; + fnamecmp_type = FNAMECMP_FNAME; + } |