public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup 0/2] fix 2885 and a division by zero
@ 2020-07-23 16:16 Stoiko Ivanov
  2020-07-23 16:16 ` [pbs-devel] [PATCH proxmox-backup 1/2] fix 2885: bail on duplicate backup target Stoiko Ivanov
  2020-07-23 16:16 ` [pbs-devel] [PATCH proxmox-backup 2/2] fix division by zero Stoiko Ivanov
  0 siblings, 2 replies; 6+ messages in thread
From: Stoiko Ivanov @ 2020-07-23 16:16 UTC (permalink / raw)
  To: pbs-devel

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-24  9:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-23 16:16 [pbs-devel] [PATCH proxmox-backup 0/2] fix 2885 and a division by zero Stoiko Ivanov
2020-07-23 16:16 ` [pbs-devel] [PATCH proxmox-backup 1/2] fix 2885: bail on duplicate backup target Stoiko Ivanov
2020-07-24  9:12   ` [pbs-devel] applied: " Thomas Lamprecht
2020-07-23 16:16 ` [pbs-devel] [PATCH proxmox-backup 2/2] fix division by zero Stoiko Ivanov
2020-07-24  5:52   ` Fabian Grünbichler
2020-07-24  7:15   ` Dietmar Maurer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal