Add upper bound for t in --read-data-subset=n/t (#2304)

* Add upper bound for t in --read-data-subset=n/t

* Add changelog entry
This commit is contained in:
Fred Akalin
2019-06-29 11:34:54 -07:00
committed by ifedorenko
parent 5bd5db4294
commit 3ca424050f
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
Bugfix: Add upper bound for t in --read-data-subset=n/t
256 is the effective maximum for t, but restic would allow larger
values, leading to strange behavior.
https://github.com/restic/restic/issues/2301
https://github.com/restic/restic/pull/2304