The Samba-Bugzilla – Attachment 1129 Details for
Bug 2561
rsync crashes when using the "exclude from" option on server side.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix crash when module-path is "/" and excludes are anchored.
crash-fix.patch (text/plain), 578 bytes, created by
Wayne Davison
on 2005-03-31 17:18:27 UTC
(
hide
)
Description:
Fix crash when module-path is "/" and excludes are anchored.
Filename:
MIME Type:
Creator:
Wayne Davison
Created:
2005-03-31 17:18:27 UTC
Size:
578 bytes
patch
obsolete
>--- clientserver.c 31 Mar 2005 00:21:15 -0000 1.154 >+++ clientserver.c 1 Apr 2005 00:11:08 -0000 >@@ -321,13 +321,11 @@ static int rsync_module(int f_in, int f_ > /* TODO: Perhaps take a list of gids, and make them into the > * supplementary groups. */ > >- if (use_chroot) { >+ if (use_chroot || (module_dirlen = strlen(lp_path(i))) == 1) { > module_dirlen = 0; > set_filter_dir("/", 1); >- } else { >- module_dirlen = strlen(lp_path(i)); >+ } else > set_filter_dir(lp_path(i), module_dirlen); >- } > > p = lp_filter(i); > parse_rule(&server_filter_list, p, MATCHFLG_WORD_SPLIT,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2561
: 1129