On 2020/07/23 16:31, Klemens Nanni wrote:
> Lots of fixes and enhancements:
> https://download.samba.org/pub/rsync/NEWS#3.2.2

I use rsync flags including this:

--rsh 'ssh -o ControlPersist=5m -o ControlMaster=auto -o VisualHostKey=no'

My script is lazy and sets --rsh for everything including local
transfers. This used to work fine, but with 3.2.2 it breaks with
"Overflow in read_varint()".

Trigger seems to be an --rsh string including 'V':

$ rsync --rsh 'V' -r /etc/motd /tmp/ 
Overflow in read_varint()
rsync error: error in rsync protocol data stream (code 12) at 
/usr/obj/ports/rsync-3.2.2/rsync-3.2.2/io.c(1737) [sende
r=3.2.2]
$ rsync error: received SIGUSR1 (code 19) at 
/usr/obj/ports/rsync-3.2.2/rsync-3.2.2/main.c(1542) [Receiver=3.2.2]

Reply via email to