[SSSD] [PATCH] krb5_child: fix value type and initialization

Jakub Hrozek jhrozek at redhat.com
Mon Mar 4 09:39:57 UTC 2013


On Mon, Mar 04, 2013 at 10:12:05AM +0100, Ondrej Kos wrote:
> I noticed the warning while testing another patch.

This is not the right fix, sorry. The warning (I think) comes from this
condition:

1941     debug_prg_name = talloc_asprintf(kr, "[sssd[krb5_child[%d]]]", getpid());
1942     if (!debug_prg_name) {
1943         DEBUG(SSSDBG_CRIT_FAILURE, ("talloc_asprintf failed.\n"));
1944         goto done;
1945     }

so the proper fix is to set "ret = ENOMEM;"



More information about the sssd-devel mailing list