Bug 7514 - Fix socketpair_tcp()
Fix socketpair_tcp()
Status: RESOLVED FIXED
Product: rsync
Classification: Unclassified
Component: core
3.0.7
Other Linux
: P3 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-15 12:38 UTC by Ali Polatel
Modified: 2010-06-19 11:42 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ali Polatel 2010-06-15 12:38:37 UTC
The patch below fixes two issues about the socketpair_tcp() function:
- Bind to INADDR_LOOPBACK instead of INADDR_ANY
- Pass the correct sockaddr_in to accept()
Here's the patch: http://dev.exherbo.org/~alip/tmp/rsync-3.0.7-bindlocal.patch
Comment 1 Wayne Davison 2010-06-19 11:42:17 UTC
Thanks for the patch!  I've applied this to the master branch in the git repo.