receiver: use secure_relative_open() for basis file
authorAndrew Tridgell <andrew@tridgell.net>
Sat, 23 Nov 2024 01:28:13 +0000 (12:28 +1100)
committerAndrew Tridgell <andrew@tridgell.net>
Tue, 14 Jan 2025 18:30:32 +0000 (05:30 +1100)
commitc35e28331f10ba6eba370611abd78bde32d54da7
tree20e65775a4764c86ea9f22c905a5109a8fd2dafa
parentb4a27ca25d0abb6fcf14f41b7e11f3a6e1d8a4ff
receiver: use secure_relative_open() for basis file

this prevents attacks where the basis file is manipulated by a
malicious sender to gain information about files outside the
destination tree
receiver.c