Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: add test demonstrating subneg DoS
The parser logic for processing subnegotiations allows a peer to cause unbounded memory consumption by starting a subnegotiation but never finishing it. Applications consuming events from the parser will never receive any indication the peer sent data. The parser's internal buffer will grow unbounded. This commit adds a test demonstrating the issue, but does not offer a fix.
- Loading branch information