[krbdev.mit.edu #5552] minor incompatability krb5-1.6.1 and OpenSSH_4.6p1, OpenSSL 0.9.8e
Jeffrey Altman via RT
rt-comment at krbdev.mit.edu
Tue May 1 19:16:17 EDT 2007
And this patch to src/lib/krb5/krb/gc_frm_kdc.c:
Index: gic_opt.c
===================================================================
--- gic_opt.c (revision 19536)
+++ gic_opt.c (working copy)
@@ -206,7 +206,11 @@
oe = krb5int_gic_opte_alloc(context);
if (NULL == oe)
return ENOMEM;
- memcpy(oe, opt, sizeof(*opt));
+ if (opt)
+ memcpy(oe, opt, sizeof(*opt));
+ else
+ memset(oe, 0, sizeof(*opt));
+
/* Fix these -- overwritten by the copy */
oe->flags |= ( KRB5_GET_INIT_CREDS_OPT_EXTENDED |
KRB5_GET_INIT_CREDS_OPT_SHADOWED);
More information about the krb5-bugs
mailing list