The Samba-Bugzilla – Attachment 14775 Details for
Bug 12569
Missing directory errors not ignored
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
patch-bug12569.diff (text/plain), 932 bytes, created by
Paul Slootman
on 2019-01-16 11:42:30 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Paul Slootman
Created:
2019-01-16 11:42:30 UTC
Size:
932 bytes
patch
obsolete
>--- generator.c 2019-01-16 12:39:30.859301062 +0100 >+++ /tmp/generator.c 2019-01-16 12:39:26.649326899 +0100 >@@ -1271,10 +1271,19 @@ > && (*dn != '.' || dn[1]) /* Avoid an issue with --relative and the "." dir. */ > && (!prior_dir_file || strcmp(dn, f_name(prior_dir_file, NULL)) != 0) > && flist_find_name(cur_flist, dn, 1) < 0) { >- rprintf(FERROR, >- "ABORTING due to invalid path from sender: %s/%s\n", >- dn, file->basename); >- exit_cleanup(RERR_PROTOCOL); >+ if (missing_args == 2 && ignore_errors) { >+ io_error |= IOERR_VANISHED; >+ rprintf(FERROR, >+ "WARNING: invalid path from sender: %s/%s\n", >+ dn, file->basename); >+ return; >+ } >+ else { >+ rprintf(FERROR, >+ "ABORTING due to invalid path from sender: %s/%s\n", >+ dn, file->basename); >+ exit_cleanup(RERR_PROTOCOL); >+ } > } > if (relative_paths && !implied_dirs > && do_stat(dn, &sx.st) < 0) {
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 12569
: 14775