mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-11 01:41:57 -04:00
fix max unpack length
This commit is contained in:
parent
ce89707c19
commit
f767d5803e
1 changed files with 1 additions and 1 deletions
|
|
@ -658,7 +658,7 @@ def parser03(all_data): # new & flexible
|
|||
meta is a Meta namedtuple and contains all required information about data.
|
||||
data is maybe compressed (see meta) and maybe encrypted (see meta).
|
||||
"""
|
||||
max_len = 2000000 # XXX formula?
|
||||
max_len = 10000000 # XXX formula?
|
||||
unpacker = msgpack.Unpacker(
|
||||
use_list=False,
|
||||
# avoid memory allocation issues causes by tampered input data.
|
||||
|
|
|
|||
Loading…
Reference in a new issue