Update sasl.c

This commit is contained in:
ihsinme 2021-04-02 14:21:06 +03:00 committed by GitHub
parent e0b98e1fa5
commit 7a3a383772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,6 +158,7 @@ static gboolean sasl_reassemble_incoming(IRC_SERVER_REC *server, const char *fra
* Fail authentication with this server. They have sent too much data.
*/
if (enc_req->len > AUTHENTICATE_MAX_SIZE) {
g_string_free(enc_req, TRUE);
return FALSE;
}