Check if message too large
This commit is contained in:

committed by
Love Hörnquist Åstrand

parent
035afb17db
commit
b6e56322f3
@@ -2138,7 +2138,9 @@ _kdc_as_rep(kdc_request_t r,
|
||||
if (ret)
|
||||
goto out;
|
||||
|
||||
/* */
|
||||
/*
|
||||
* Check if message too large
|
||||
*/
|
||||
if (datagram_reply && reply->length > config->max_datagram_reply_length) {
|
||||
krb5_data_free(reply);
|
||||
ret = KRB5KRB_ERR_RESPONSE_TOO_BIG;
|
||||
|
Reference in New Issue
Block a user