[SSSD] [PATCH] Fix chpass operations with LDAP provider

Stephen Gallagher sgallagh at redhat.com
Thu Aug 5 12:13:39 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/05/2010 04:51 AM, Jakub Hrozek wrote:
> On 08/04/2010 10:18 PM, Jeff Schroeder wrote:
>> Ok scratch that, I was in the wrong git branch. It seems that things
>> go south around "talloc_strdup failed.".
> 
> Looking at the code, the check for NULL seems OK, so probably the
> allocation really failed and the machine ran out of memory, but I think
> we should probably break with ENOMEM in that case..see the attached patch.

talloc_strdup() will also return NULL if the source string is NULL. I
think we need to investigate whether this is the case.

- -- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkxaqvMACgkQeiVVYja6o6PoJQCeMLuRF3Wpi4ak+ctnw+QCTc2h
3J8AoIFvp1wdIgyaZoGtRmGI0Xbq6tUn
=Slb2
-----END PGP SIGNATURE-----



More information about the sssd-devel mailing list