Hi,
the callers of sss_krb5_princ_realm() expect that realm and len will be initialized. The attached patch tries to make sure that this is the case even if krb5_principal_get_realm() is not available and krb5_princ_realm() returns NULL.
bye, Sumit
On Thu, Mar 22, 2012 at 12:40 PM, Sumit Bose sbose@redhat.com wrote:
Hi,
the callers of sss_krb5_princ_realm() expect that realm and len will be initialized. The attached patch tries to make sure that this is the case even if krb5_principal_get_realm() is not available and krb5_princ_realm() returns NULL.
bye, Sumit
Ack
On Fri, 2012-03-23 at 10:14 +0100, Jakub Hrozek wrote:
On Thu, Mar 22, 2012 at 12:40 PM, Sumit Bose sbose@redhat.com wrote:
Hi,
the callers of sss_krb5_princ_realm() expect that realm and len will be initialized. The attached patch tries to make sure that this is the case even if krb5_principal_get_realm() is not available and krb5_princ_realm() returns NULL.
bye, Sumit
Ack
Pushed to master and sssd-1-8.
sssd-devel@lists.fedorahosted.org