diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2001-10-31 13:50:43 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2001-10-31 13:50:43 +0000 |
commit | a5714880c98edd274d116972f581b3bfba7e76c1 (patch) | |
tree | 357c50771e7c0723689658956358466ffc8bd459 /security | |
parent | Upgrade to version 3.67 (diff) |
Fix a heap buffer overrun in gss_get_mic().
Notes
Notes:
svn path=/head/; revision=49422
Diffstat (limited to 'security')
-rw-r--r-- | security/heimdal/files/patch-lib::gssapi::get_mic.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/security/heimdal/files/patch-lib::gssapi::get_mic.c b/security/heimdal/files/patch-lib::gssapi::get_mic.c new file mode 100644 index 000000000000..12a7b2fc732f --- /dev/null +++ b/security/heimdal/files/patch-lib::gssapi::get_mic.c @@ -0,0 +1,28 @@ +Index: lib/gssapi/get_mic.c +=================================================================== +RCS file: /home/kth-krb/heimdal/lib/gssapi/get_mic.c,v +retrieving revision 1.18 +retrieving revision 1.19 +diff -u -r1.18 -r1.19 +--- lib/gssapi/get_mic.c 2001/06/18 02:50:15 1.18 ++++ lib/gssapi/get_mic.c 2001/10/31 13:37:39 1.19 +@@ -33,7 +33,7 @@ + + #include "gssapi_locl.h" + +-RCSID("$Id: get_mic.c,v 1.18 2001/06/18 02:50:15 assar Exp $"); ++RCSID("$Id: get_mic.c,v 1.19 2001/10/31 13:37:39 nectar Exp $"); + + static OM_uint32 + mic_des +@@ -235,10 +235,6 @@ + + memcpy (p, encdata.data, encdata.length); + krb5_data_free (&encdata); +- +- p += 8 + cksum.checksum.length; +- +- memcpy (p, message_buffer->value, message_buffer->length); + + krb5_auth_con_setlocalseqnumber (gssapi_krb5_context, + context_handle->auth_context, |