diff options
author | Maarten <maarten@informaarten.nl> | 2012-11-30 15:14:49 +0100 |
---|---|---|
committer | Maarten <maarten@informaarten.nl> | 2012-11-30 15:14:49 +0100 |
commit | 3bbcf808d8da43a379cee5ce3d004d3c6eb6e1b7 (patch) | |
tree | fcc933f5f9b5f4f6f0db89675a268f2e71e128f7 /tests/test_packetizer.py | |
parent | 0ae0e9800c7bfb3f8ea40fa0d33ebf6dff49f759 (diff) |
Limit memory allocation of get_bytes to 1MB
If get_bytes() can pad unlimited, a RSA pub key could be crafted
that would allocate GB's of nulls, thereby forming a DoS-vector.
Diffstat (limited to 'tests/test_packetizer.py')
0 files changed, 0 insertions, 0 deletions