[SSSD] [PATCHES] Fix several bugs introduced by the multi-valued name patches

Stephen Gallagher sgallagh at redhat.com
Wed Mar 23 14:36:18 UTC 2011


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

These were all discovered by Coverity. The fixes are pretty simple.

Patch 0001: If there's no orig_dn available, we need to fail here since
we can't determine the correct name. This occurs after we've already
processed the case where the name is single-valued.

Patch 0002: Only free *_name if _name is non-NULL.

Patch 0003: Check the correct result of talloc_strdup()

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

iEYEARECAAYFAk2KBWIACgkQeiVVYja6o6OV4QCeKVr9LcDa/SISQlBmub8M7T2n
InwAoJkDVmi6uiYLxrBjJBkOGnkJjLPW
=IuCW
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-crash-if-we-get-a-multivalued-name-without-an-.patch
Type: text/x-patch
Size: 1002 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110323/4ea1b724/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Don-t-crash-on-error-if-_name-parameter-unspecified.patch
Type: text/x-patch
Size: 995 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110323/4ea1b724/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Check-result-of-talloc_strdup-properly.patch
Type: text/x-patch
Size: 760 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110323/4ea1b724/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-crash-if-we-get-a-multivalued-name-without-an-.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110323/4ea1b724/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Don-t-crash-on-error-if-_name-parameter-unspecified.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110323/4ea1b724/attachment-0001.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Check-result-of-talloc_strdup-properly.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110323/4ea1b724/attachment-0002.sig>


More information about the sssd-devel mailing list