# HG changeset patch # User Jiri Sasek # Date 1487255824 28800 # Node ID cca822116da50c6ce1bf2523967128f5ca45669d # Parent df734e7c2a96f27059c2b5de27a49fd60b28a207 25360088 Samba 4.4.5 in maintenance and smbd core dumps when kerberos method option used diff -r df734e7c2a96 -r cca822116da5 components/samba/patches/no-keytab-core.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/samba/patches/no-keytab-core.patch Thu Feb 16 06:37:04 2017 -0800 @@ -0,0 +1,18 @@ +Problem description: +smbd dump core in libkrb5-samba4.so.26.0.0:krb5_storage_free if arg. sp is NULL + +Issue hits Samba using Heimdal krb5 code only. + +Promoted into upstream as Samba bug: +https://bugzilla.samba.org/show_bug.cgi?id=12505 + +--- a/source4/heimdal/lib/krb5/store.c 2017-01-09 16:03:14.204115997 -0800 ++++ b/source4/heimdal/lib/krb5/store.c 2017-01-09 16:06:04.835337808 -0800 +@@ -270,6 +270,7 @@ + KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL + krb5_storage_free(krb5_storage *sp) + { ++ if(sp == NULL) return -1; + if(sp->free) + (*sp->free)(sp); + free(sp->data);