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
18f3cb69
Commit
18f3cb69
authored
Mar 17, 2008
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed stat() call to do_stat().
parent
7abcfd85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
clientserver.c
clientserver.c
+1
-1
No files found.
clientserver.c
View file @
18f3cb69
...
...
@@ -691,7 +691,7 @@ static int rsync_module(int f_in, int f_out, int i, char *addr, char *host)
munge_symlinks
=
!
use_chroot
||
module_dirlen
;
if
(
munge_symlinks
)
{
STRUCT_STAT
st
;
if
(
stat
(
SYMLINK_PREFIX
,
&
st
)
==
0
&&
S_ISDIR
(
st
.
st_mode
))
{
if
(
do_
stat
(
SYMLINK_PREFIX
,
&
st
)
==
0
&&
S_ISDIR
(
st
.
st_mode
))
{
rprintf
(
FLOG
,
"Symlink munging is unsupported when a %s directory exists.
\n
"
,
SYMLINK_PREFIX
);
io_printf
(
f_out
,
"@ERROR: daemon security issue -- contact admin
\n
"
,
name
);
...
...
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