On Tue, 2009-10-20 at 14:24 +0200, Sumit Bose wrote: > + > + dummy = dp_opt_get_cstring(opts, KRB5_CCNAME_TMPL); > + if (dummy[0] != '/' && strncmp(dummy, "FILE:", 5) != 0) { > + DEBUG(1, ("Currently only file based credential caches are > supported " > + "and krb5ccname_template must start with '/' or > 'FILE:'\n")); > + return EINVAL; > + } > +
Here dummy may be null and dummy[0] would give a segfault. Simo. _______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/sssd-devel