]> git.ipfire.org Git - thirdparty/rsync.git/commit
fixed symlink race condition in sender
authorAndrew Tridgell <andrew@tridgell.net>
Tue, 17 Dec 2024 21:59:42 +0000 (08:59 +1100)
committerAndrew Tridgell <andrew@tridgell.net>
Tue, 14 Jan 2025 18:20:12 +0000 (05:20 +1100)
commitf6917bf7e7cf44308ac0efc31e200125278199c6
tree03171c1629ad146d0ce22e1389252e3eb968f363
parente2715ef6ca4e03405f95eb4551363a199778f53f
fixed symlink race condition in sender

when we open a file that we don't expect to be a symlink use
O_NOFOLLOW to prevent a race condition where an attacker could change
a file between being a normal file and a symlink
checksum.c
flist.c
generator.c
receiver.c
sender.c
syscall.c
t_unsafe.c
tls.c
trimslash.c
util1.c