proxmox-backup/src
Stefan Reiter 8268c9d161 fix overflow panic during upload
if *only* data chunks are registered (high chance during incremental
backup), then chunk_count might be one lower then upload_stat.count
because of the zero chunk being unconditionally uploaded but not used.
Thus when subtracting the two, an overflow would occur.

In general, don't let the client make the server panic, instead just set
duplicates to 0.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2020-06-24 09:07:22 +02:00
..
api2 fix overflow panic during upload 2020-06-24 09:07:22 +02:00
backup add From<&DirEntryAttribute to CatalogEntryType and make it pub(crate) 2020-06-24 07:08:50 +02:00
bin cleanup: implement FromStr for BackupGroup 2020-06-23 08:16:56 +02:00
client use the existing async method for read_raw_chunk 2020-06-19 07:23:17 +02:00
config remove absolute paths when executing binaries 2020-06-23 07:09:06 +02:00
pxar fix file timestamps in catalog 2020-06-16 11:25:31 +02:00
rrd api2/status: use new rrd::extract_cached_data 2020-06-10 13:31:16 +02:00
server typo fixes all over the place 2020-05-30 16:39:08 +02:00
tools remove absolute paths when executing binaries 2020-06-23 07:09:06 +02:00
api2.rs api2: add status/datastore-usages api call 2020-06-09 12:20:25 +02:00
auth_helpers.rs refactor time functions to tools 2020-06-10 13:31:10 +02:00
auth.rs switch from failure to anyhow 2020-04-17 18:43:30 +02:00
backup.rs add AsyncIndexReader 2020-06-19 08:32:33 +02:00
buildcfg.rs some clippy fixups 2019-09-11 12:14:05 +02:00
client.rs switch to external pxar and fuse crates 2020-06-08 13:56:58 +02:00
config.rs rename 'job' to 'sync' 2020-05-21 10:29:25 +02:00
lib.rs add simple rrd implementation 2020-05-23 10:42:48 +02:00
server.rs move src/api_schema/config.rs -> src/server/config.rs 2019-11-22 09:23:03 +01:00
tools.rs tools: add socketpair helper 2020-06-22 10:49:56 +02:00