[Bug 8411] invalid flist flag when using protocol 28 or 29

2013-06-02 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8411

Wayne Davison way...@samba.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #4 from Wayne Davison way...@samba.org 2013-06-02 22:22:25 UTC ---
No response; fix should handle it.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[Bug 8411] invalid flist flag when using protocol 28 or 29

2011-08-27 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8411

Wayne Davison way...@samba.org changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

--- Comment #1 from Wayne Davison way...@samba.org 2011-08-27 19:14:03 UTC ---
Sadly, the patch doesn't fix the issue, it hides the fact that illegal flags
are being received.  Can you figure out why the invalid flag bits are being
sent by the older rsync?

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[Bug 8411] invalid flist flag when using protocol 28 or 29

2011-08-27 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8411

--- Comment #2 from Wayne Davison way...@samba.org 2011-08-27 19:31:06 UTC ---
Note also that the patch breaks the code so that it can never match that flag
combination when it actually should.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


[Bug 8411] invalid flist flag when using protocol 28 or 29

2011-08-27 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8411

--- Comment #3 from Wayne Davison way...@samba.org 2011-08-27 21:47:24 UTC ---
Created attachment 6819
  -- https://bugzilla.samba.org/attachment.cgi?id=6819
Ignore some bogus file-list flags for older protocols

Here's a kluge that will ignore this error for older protocols.  I'd rather
figure out what makes an older version send and invalid flag, but I may apply
this for the 3.0.9 release if we can't figure out what's up.

To be clear, the XMIT_IO_ERROR_ENDLIST flag (0x1000 aka (112)) is a new flag
for protocol 30, so no old version of rsync should ever send it.  A more modern
rsync will only use it either in combination with XMIT_EXTENDED_FLAGS (0x04) by
itself (0x1004), or in combination with XMIT_HLINKED|XMIT_EXTENDED_FLAGS, where
it is interpreted as as XMIT_HLINK_FIRST (but XMIT_HLINK_FIRST is only ever
sent for protocol = 30).

Having looked at some older code versions (2.6.9, 2.6.3, and 3.0.0), I don't
see any way that that 0x1000 bit could get set in send_file_entry() without (in
3.0.0) using protocol 30, so it makes me think that there might be a hacked
rsync out there that is using incompatible XMIT_* bits.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html