Closed
Description
Minimal reproducible example:
from msgpack import loads
# ---------------------- Array 32
# | ----------- Large number
# | | --- No other data
# | | |
# v v v
s = "\xdd\xff\x00\x00\x00"
loads(s)
Function loads
in this example consumes a lot of memory and will have failed years later.
And looks like str 32
and map 32
are not affected.
Metadata
Metadata
Assignees
Labels
No labels