Fix SRP buffer overrun vulnerability.