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

Jakub Hrozek jhrozek at redhat.com
Thu Aug 5 08:51:34 UTC 2010


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

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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkxae5YACgkQHsardTLnvCXcNwCeOIsj9raYYN/YSucJoIzVRIQd
btkAoMEGpKt1/7jBgGhKabpAFowbeJOL
=YdU9
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-return-ENOMEM-on-allocation-failure.patch
Type: text/x-patch
Size: 816 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100805/2c9fcb64/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-return-ENOMEM-on-allocation-failure.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100805/2c9fcb64/attachment.sig>


More information about the sssd-devel mailing list