summaryrefslogtreecommitdiff
path: root/security/krb5-16/files/patch-lib::krb5::krb::send_tgs.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/krb5-16/files/patch-lib::krb5::krb::send_tgs.c')
-rw-r--r--security/krb5-16/files/patch-lib::krb5::krb::send_tgs.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/krb5-16/files/patch-lib::krb5::krb::send_tgs.c b/security/krb5-16/files/patch-lib::krb5::krb::send_tgs.c
new file mode 100644
index 000000000000..07b494ffd93e
--- /dev/null
+++ b/security/krb5-16/files/patch-lib::krb5::krb::send_tgs.c
@@ -0,0 +1,20 @@
+--- 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))