mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-25 23:43:49 +00:00
fix bug in obfuscated data upgrade code
This commit is contained in:
parent
f9078ebfa9
commit
9740767449
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ def upgrade_zlib_and_level(meta, data):
|
|||
borg1_header_fmt = Struct(">I")
|
||||
hlen = borg1_header_fmt.size
|
||||
csize_bytes = data[2 : 2 + hlen]
|
||||
csize = borg1_header_fmt.unpack(csize_bytes)
|
||||
csize = borg1_header_fmt.unpack(csize_bytes)[0]
|
||||
compressed = data[2 + hlen : 2 + hlen + csize]
|
||||
meta, compressed = upgrade_zlib_and_level(meta, compressed)
|
||||
meta["psize"] = csize
|
||||
|
|
Loading…
Reference in a new issue