Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
5dc4003e
Commit
5dc4003e
authored
Jan 30, 2004
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the optional sanitization of the files_from arg.
parent
37c817eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
options.c
options.c
+4
-2
No files found.
options.c
View file @
5dc4003e
...
...
@@ -686,8 +686,10 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
}
}
else
{
extern
int
sanitize_paths
;
if
(
sanitize_paths
)
sanitize_path
(
strdup
(
files_from
),
NULL
);
if
(
sanitize_paths
)
{
files_from
=
strdup
(
files_from
);
sanitize_path
(
files_from
,
NULL
);
}
filesfrom_fd
=
open
(
files_from
,
O_RDONLY
|
O_BINARY
);
if
(
filesfrom_fd
<
0
)
{
rsyserr
(
FERROR
,
errno
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment