diff options
author | cy <cy@FreeBSD.org> | 2004-10-21 04:20:06 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2004-10-21 04:20:06 +0800 |
commit | 001dbeb213d1674a276c4f882295fac37ca158e4 (patch) | |
tree | 94b6cfcc2f81bd2d315800590e52a317688d6691 /security/krb5/files | |
parent | 60f400040d522c859748b46125a16a77a427578c (diff) | |
download | freebsd-ports-gnome-001dbeb213d1674a276c4f882295fac37ca158e4.tar.gz freebsd-ports-gnome-001dbeb213d1674a276c4f882295fac37ca158e4.tar.zst freebsd-ports-gnome-001dbeb213d1674a276c4f882295fac37ca158e4.zip |
Update 1.3.4 --> 1.3.5
Diffstat (limited to 'security/krb5/files')
-rw-r--r-- | security/krb5/files/patch-lib::krb5::asn.1::asn1buf.c | 13 | ||||
-rw-r--r-- | security/krb5/files/patch-lib::krb5::krb::rd_rep.c | 11 | ||||
-rw-r--r-- | security/krb5/files/patch-lib::krb5::krb::send_tgs.c | 20 |
3 files changed, 0 insertions, 44 deletions
diff --git a/security/krb5/files/patch-lib::krb5::asn.1::asn1buf.c b/security/krb5/files/patch-lib::krb5::asn.1::asn1buf.c deleted file mode 100644 index 6d3da983adc3..000000000000 --- a/security/krb5/files/patch-lib::krb5::asn.1::asn1buf.c +++ /dev/null @@ -1,13 +0,0 @@ -*** lib/krb5/asn.1/asn1buf.c 12 Mar 2003 04:33:30 -0000 5.24 ---- lib/krb5/asn.1/asn1buf.c 23 Aug 2004 03:43:47 -0000 -*************** -*** 122,127 **** ---- 122,129 ---- - return ASN1_OVERRUN; - } - while (nestlevel > 0) { -+ if (buf->bound - buf->next + 1 <= 0) -+ return ASN1_OVERRUN; - retval = asn1_get_tag_2(buf, &t); - if (retval) return retval; - if (!t.indef) { diff --git a/security/krb5/files/patch-lib::krb5::krb::rd_rep.c b/security/krb5/files/patch-lib::krb5::krb::rd_rep.c deleted file mode 100644 index 0772c869f063..000000000000 --- a/security/krb5/files/patch-lib::krb5::krb::rd_rep.c +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/krb5/krb/rd_rep.c.orig Fri Jun 13 17:09:47 2003 -+++ lib/krb5/krb/rd_rep.c Wed Sep 1 11:46:52 2004 -@@ -71,6 +71,8 @@ - - /* now decode the decrypted stuff */ - retval = decode_krb5_ap_rep_enc_part(&scratch, repl); -+ if (retval) -+ goto clean_scratch; - - /* Check reply fields */ - if (((*repl)->ctime != auth_context->authentp->ctime) || diff --git a/security/krb5/files/patch-lib::krb5::krb::send_tgs.c b/security/krb5/files/patch-lib::krb5::krb::send_tgs.c deleted file mode 100644 index 07b494ffd93e..000000000000 --- a/security/krb5/files/patch-lib::krb5::krb::send_tgs.c +++ /dev/null @@ -1,20 +0,0 @@ ---- lib/krb5/krb/send_tgs.c.orig Thu May 13 12:27:59 2004 -+++ lib/krb5/krb/send_tgs.c Wed Sep 1 11:46:52 2004 -@@ -269,6 +269,8 @@ - if (!tcp_only) { - krb5_error *err_reply; - retval = decode_krb5_error(&rep->response, &err_reply); -+ if (retval) -+ goto send_tgs_error_3; - if (err_reply->error == KRB_ERR_RESPONSE_TOO_BIG) { - tcp_only = 1; - krb5_free_error(context, err_reply); -@@ -277,6 +279,8 @@ - goto send_again; - } - krb5_free_error(context, err_reply); -+ send_tgs_error_3: -+ ; - } - rep->message_type = KRB5_ERROR; - } else if (krb5_is_tgs_rep(&rep->response)) |