mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-30 05:39:12 +02:00
d0c296bd5b
The remote list was at most 9 (based on pg[1-8]-* max index) so anything over 8 wrote into unallocated memory. The remote for the main process is (currently) stored in position zero so do the same for remotes started from locals, since there should only be one. The main process will need to start more remotes in the future which is why there is extra space. Reported by Jens Wilke.