Bug 7514 - Fix socketpair_tcp()
Summary: Fix socketpair_tcp()
Status: RESOLVED FIXED
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.0.7
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
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.