[pbs-devel] [PATCH proxmox-backup 0/2] fix 2885 and a division by zero

Stoiko Ivanov s.ivanov at proxmox.com
Thu Jul 23 18:16:35 CEST 2020


This patchset fixes #2885 (clobbering of the didx file if the same
target is used multiple times).

The second patch fixes a division by zero panic in case the backup was
too fast :) (as_secs() returns 0).

Tested on my machine (where I ran into the division by zero issue)

Stoiko Ivanov (2):
  fix 2885: bail on duplicate backup target
  fix division by zero

 src/bin/proxmox-backup-client.rs |  6 ++++++
 src/client/backup_writer.rs      | 11 ++++++++---
 2 files changed, 14 insertions(+), 3 deletions(-)

-- 
2.20.1






More information about the pbs-devel mailing list