increase the arbitrary limit from 1024 to 8192
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3449 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -493,7 +493,7 @@ as_rep(KDC_REQ *req,
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
unsigned char buf[1024]; /* XXX The data could be indefinite */
|
unsigned char buf[8192]; /* XXX The data could be indefinite */
|
||||||
size_t len;
|
size_t len;
|
||||||
|
|
||||||
ret = encode_EncTicketPart(buf + sizeof(buf) - 1, sizeof(buf),
|
ret = encode_EncTicketPart(buf + sizeof(buf) - 1, sizeof(buf),
|
||||||
@@ -801,7 +801,7 @@ tgs_make_reply(KDC_REQ_BODY *b, EncTicketPart *tgt,
|
|||||||
ek.sname = rep.ticket.sname;
|
ek.sname = rep.ticket.sname;
|
||||||
|
|
||||||
{
|
{
|
||||||
unsigned char buf[1024]; /* XXX The data could be indefinite */
|
unsigned char buf[8192]; /* XXX The data could be indefinite */
|
||||||
size_t len;
|
size_t len;
|
||||||
ret = encode_EncTicketPart(buf + sizeof(buf) - 1,
|
ret = encode_EncTicketPart(buf + sizeof(buf) - 1,
|
||||||
sizeof(buf), &et, &len);
|
sizeof(buf), &et, &len);
|
||||||
@@ -871,7 +871,7 @@ tgs_check_authenticator(krb5_auth_context ac,
|
|||||||
{
|
{
|
||||||
krb5_authenticator auth;
|
krb5_authenticator auth;
|
||||||
size_t len;
|
size_t len;
|
||||||
unsigned char buf[1024];
|
unsigned char buf[8192];
|
||||||
krb5_error_code ret;
|
krb5_error_code ret;
|
||||||
|
|
||||||
krb5_auth_getauthenticator(context, ac, &auth);
|
krb5_auth_getauthenticator(context, ac, &auth);
|
||||||
|
Reference in New Issue
Block a user