[SSSD] [PATCH] Always initialize the returned data in sss_krb5_princ_realm()

Jakub Hrozek jakub.hrozek at gmail.com
Fri Mar 23 09:14:52 UTC 2012


On Thu, Mar 22, 2012 at 12:40 PM, Sumit Bose <sbose at 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



More information about the sssd-devel mailing list