]> git.ipfire.org Git - thirdparty/rsync.git/commit
xattrs: fixed count in qsort
authorAndrew Tridgell <andrew@tridgell.net>
Tue, 21 Apr 2026 23:57:45 +0000 (09:57 +1000)
committerAndrew Tridgell <andrew@tridgell.net>
Wed, 22 Apr 2026 00:38:14 +0000 (10:38 +1000)
commitbb0a8118c2d2ab01140bac5e4e327e5e1ef90c9c
tree80fe3d688378b8f07d7f93cf46d8634f98c891ec
parentd1df0aaf70b0c02776d20f17786d73f645cc2983
xattrs: fixed count in qsort

this fixes the count passed to the sort of the xattr list. This issue
was reported here:

https://www.openwall.com/lists/oss-security/2026/04/16/2

the bug is not exploitable due to the fork-per-connection design of
rsync, the attack is the equivalent of the user closing the socket
themselves.
xattrs.c