diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2009-08-28 23:35:15 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2009-08-28 23:35:15 +0000 |
| commit | e7a3c62a9fc7450d03e136dee2eac1edd8e10a1b (patch) | |
| tree | 823cbc819c37f58f199297400197b76040b37e91 /security/krb5-17/files/patch-ai | |
| parent | Io_lib is a library of file reading and writing code to provide a (diff) | |
Welcome the new Kerberos V 1.7.
PR: 138246
Notes
Notes:
svn path=/head/; revision=240488
Diffstat (limited to 'security/krb5-17/files/patch-ai')
| -rw-r--r-- | security/krb5-17/files/patch-ai | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/security/krb5-17/files/patch-ai b/security/krb5-17/files/patch-ai index f5b733194344..3588a76ed199 100644 --- a/security/krb5-17/files/patch-ai +++ b/security/krb5-17/files/patch-ai @@ -15,14 +15,3 @@ addrlen = sizeof (his_addr); if (getpeername(0, (struct sockaddr *)&his_addr, &addrlen) < 0) { -@@ -2312,6 +2318,10 @@ - if ((length = krb_mk_safe((u_char *)&cksum, out_buf, sizeof(cksum), - &kdata.session,&ctrl_addr, &his_addr)) == -1) { - secure_error("ADAT: krb_mk_safe failed"); -+ return(0); -+ } -+ if (length >= (FTP_BUFSIZ - sizeof("ADAT=")) / 4 * 3) { -+ secure_error("ADAT: reply too long"); - return(0); - } - if (length >= (FTP_BUFSIZ - sizeof("ADAT=")) / 4 * 3) { |
