samba-bugs@samba.org
2005-Jun-09 18:41 UTC
[Bug 2784] rsync gives following error: buffer overflow in receive_file_entry
https://bugzilla.samba.org/show_bug.cgi?id=2784 ------- Additional Comments From carnesresearchcenter@gmail.com 2005-06-09 11:20 ------- *** Bug 2785 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2005-Jun-12 07:21 UTC
[Bug 2784] rsync gives following error: buffer overflow in receive_file_entry
https://bugzilla.samba.org/show_bug.cgi?id=2784 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Additional Comments From wayned@samba.org 2005-06-12 00:13 ------- This sounds like the bytes being transfer are being corrupted between the sender and the receiver, possibly because your remote-shell transport is not 8-bit clean. You can test this using the "savetransfer" program in the support dir of a modern rsync release. Just chdir into the support dir, type make, and then read the savetransfer.c file's opening comments for how to make a copy of the data that is being sent or received (one copy on the sender, and one on the receiver) and then diff it for errors. Your --rsh options are also strange: you're using a --port option that has no effect, for instance (because you'r using a remote shell to talk directly to a freshly-spawned daemon process over stdin/stdout). The specifying of rsync options is more appropriately done in the --rsync-path option rather than in the --rsh option. For instance, rsync is appending the --server --daemon options onto the rsync command, so the command you list is running this (this is a single command): ssh BCPSERVER rsync rsyncd --daemon --config=FILE --port=PORT BCPSERVER /PATH/rsync --server --daemon If you changed the --rsh option to be just "ssh" and changed the --rsync-path option to be "$RSYNCPATH --config=$RSYNCDCONFIGFILE", it would run something more like this: ssh BCPSERVER /PATH/rsync --config=FILE --server --daemon -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2005-Jun-13 18:00 UTC
[Bug 2784] rsync gives following error: buffer overflow in receive_file_entry
https://bugzilla.samba.org/show_bug.cgi?id=2784 ------- Additional Comments From carnesresearchcenter@gmail.com 2005-06-13 10:53 ------- I get the following errors when not using the -rsh= ssh option: ERROR: buffer overflow in receive_file_entry rsync error: error allocating core memory buffers (code 22) at util.c(126) rsync: connection unexpectedly closed (4 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(359) It appears to have the same problem regardless of the transport layer. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2005-Jun-13 19:01 UTC
[Bug 2784] rsync gives following error: buffer overflow in receive_file_entry
https://bugzilla.samba.org/show_bug.cgi?id=2784 ------- Additional Comments From carnesresearchcenter@gmail.com 2005-06-13 11:56 ------- disregard my last comment, the code does act as you suggest when not using the ssh as the transport layer. Are there any known work arounds for this behavior? -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
samba-bugs@samba.org
2005-Jun-13 20:41 UTC
[Bug 2784] rsync gives following error: buffer overflow in receive_file_entry
https://bugzilla.samba.org/show_bug.cgi?id=2784 carnesresearchcenter@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Additional Comments From carnesresearchcenter@gmail.com 2005-06-13 13:28 ------- I made additional mods to the way the script uses ssh as the protocl and it worked thanks for the help. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
Seemingly Similar Threads
- [Bug 2784] New: rsync gives following error: buffer overflow in receive_file_entry
- [Bug 2785] New: rsync gives following error: buffer overflow in receive_file_entry
- overflow error
- DO NOT REPLY [Bug 5235] New: buffer overflow in receive_file_entry
- ERROR: buffer overflow in receive_file_entry