Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
rsync.21284
rsync-3.1.0-CVE-2017-17433.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rsync-3.1.0-CVE-2017-17433.patch of Package rsync.21284
From 3e06d40029cfdce9d0f73d87cfd4edaf54be9c51 Mon Sep 17 00:00:00 2001 From: Jeriko One <jeriko.one@gmx.us> Date: Thu, 2 Nov 2017 23:44:19 -0700 Subject: [PATCH 1/1] Check fname in recv_files sooner. --- receiver.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) Index: rsync-3.1.0/receiver.c =================================================================== --- rsync-3.1.0.orig/receiver.c +++ rsync-3.1.0/receiver.c @@ -576,6 +576,12 @@ int recv_files(int f_in, int f_out, char file = dir_flist->files[cur_flist->parent_ndx]; fname = local_name ? local_name : f_name(file, fbuf); + if (daemon_filter_list.head + && check_filter(&daemon_filter_list, FLOG, fname, 0) < 0) { + rprintf(FERROR, "attempt to hack rsync failed.\n"); + exit_cleanup(RERR_PROTOCOL); + } + if (DEBUG_GTE(RECV, 1)) rprintf(FINFO, "recv_files(%s)\n", fname); @@ -647,12 +653,6 @@ int recv_files(int f_in, int f_out, char cleanup_got_literal = 0; - if (daemon_filter_list.head - && check_filter(&daemon_filter_list, FLOG, fname, 0) < 0) { - rprintf(FERROR, "attempt to hack rsync failed.\n"); - exit_cleanup(RERR_PROTOCOL); - } - if (read_batch) { int wanted = redoing ? we_want_redo(ndx)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor