Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
misc/multiaddr: Limit initial memory allocation in visit_seq (#1833)
Without a limit, one can send malformed input such that seq.size_hint() returns a very large value and crashes the program even if the following data is pretty small.
- Loading branch information