borgbackup/borg
TW 5efda261b3 Fix compression exceptions (#2224)
* trigger bug in --verify-data, see #2221

* raise decompression errors as DecompressionError, fixes #2221

this is a subclass of IntegrityError, so borg check --verify-data works correctly if
the decompressor stumbles over corrupted data before the plaintext gets verified
(in a unencrypted repository, otherwise the MAC check would fail first).

* fixup: fix exception docstring, add placeholder, change wording
2017-03-10 19:06:54 +01:00
..
testsuite Fix compression exceptions (#2224) 2017-03-10 19:06:54 +01:00
__init__.py implement borgmajor/minor/patch placeholders, fixes #1694 2016-10-22 00:20:50 +02:00
__main__.py cosmetic source cleanup (flake8) 2016-01-30 21:32:45 +01:00
_chunker.c Workround a bug in Linux fadvise FADV_DONTNEED, fixes #907 2016-04-15 20:16:47 -04:00
_hashindex.c hashindex: rebuild hashtable if we have too little empty buckets, fixes #2246 2017-03-04 00:53:44 +01:00
archive.py Print a warning for too big extended attributes 2017-03-10 18:57:15 +01:00
archiver.py borg rpc: use limited msgpack.Unpacker, fixes #2139 2017-03-10 18:49:41 +01:00
cache.py files cache: update inode number, backport fix for #2226 2017-02-27 16:02:41 +01:00
chunker.pyx API_VERSION: use numberspaces, fixes #2023 2017-01-13 21:24:17 +01:00
compress.pyx Fix compression exceptions (#2224) 2017-03-10 19:06:54 +01:00
crypto.pyx API_VERSION: use numberspaces, fixes #2023 2017-01-13 21:24:17 +01:00
fuse.py fuse: fix st_blocks to be an integer (not float) value 2017-02-16 23:55:27 +01:00
hashindex.pyx fix ChunkIndex.__contains__ assertion for big-endian archs 2017-03-10 18:56:18 +01:00
helpers.py Fix compression exceptions (#2224) 2017-03-10 19:06:54 +01:00
key.py init: explain manifest auth compatibility 2016-12-19 04:01:27 +01:00
keymanager.py Add qr html export mode to key export command 2017-02-10 22:32:01 +01:00
locking.py repository: fix spurious, empty lock.roster on InvalidRepository exception 2016-08-18 00:54:12 +02:00
logger.py sane remote logging, remote stderr, fixes #461 2015-12-12 22:15:08 +01:00
lrucache.py Merge branch 'master' into lrucache 2015-08-14 10:59:21 +01:00
paperkey.html key export: center QR code on the page 2017-02-12 22:26:10 +01:00
platform.py API_VERSION: use numberspaces, fixes #2023 2017-01-13 21:24:17 +01:00
platform_darwin.pyx API_VERSION: use numberspaces, fixes #2023 2017-01-13 21:24:17 +01:00
platform_freebsd.pyx API_VERSION: use numberspaces, fixes #2023 2017-01-13 21:24:17 +01:00
platform_linux.pyx API_VERSION: use numberspaces, fixes #2023 2017-01-13 21:24:17 +01:00
remote.py borg rpc: use limited msgpack.Unpacker, fixes #2139 2017-03-10 18:49:41 +01:00
repository.py borg rpc: use limited msgpack.Unpacker, fixes #2139 2017-03-10 18:49:41 +01:00
shellpattern.py fix most python-source related sphinx warnings 2016-07-10 17:26:04 +02:00
upgrader.py always setup module level "logger" in the same way 2017-01-06 05:48:50 +01:00
xattr.py helpers.Buffer: raise OSError subclass if too much memory is allocd 2017-01-04 19:28:05 +01:00