Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ssl: first pass limit when allocating buffer for certificates
With this check, on the first packet of a certificate presenting a length of 16Mbytes, we only allocate up to 65Kb When we get to the point where need more than 65Kb, we realloc to the true size. With this check, it makes it more expensive for an attacket to use this allocation as a way to trigger ressource exhaustion...
- Loading branch information