diff options
author | Jeriko One <jeriko.one@gmx.us> | 2017-11-16 17:26:03 -0800 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-11 16:02:12 +0900 |
commit | 7c222cb73215ae9bd20bc2f02ae517189c3b6f6a (patch) | |
tree | 47e9a87f17d0a0f2ebe7ec703f15ba01a5695f48 | |
parent | c8ec757b4d7f1690b523b2a709b84efdab5f9116 (diff) | |
download | rsync-7c222cb73215ae9bd20bc2f02ae517189c3b6f6a.tar.gz rsync-7c222cb73215ae9bd20bc2f02ae517189c3b6f6a.tar.bz2 rsync-7c222cb73215ae9bd20bc2f02ae517189c3b6f6a.zip |
[CVE-2017-17434] Check daemon filter against fnamecmp in recv_files().
Change-Id: I77e664ed7f69464054724e60fd2900da452dd641
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r-- | receiver.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -729,7 +729,7 @@ int recv_files(int f_in, int f_out, char *local_name) 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; } |