[SSSD] Fix two bugs found by clang

Jakub Hrozek jhrozek at redhat.com
Tue Aug 3 16:47:15 UTC 2010


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

The attached patches fix two bugs found by the clang static analyser.
Both of them masked potential errors, the first one when parsing of a
HBAC rule fails, the second one when unexpected status of a service
lookup..the routines would return EOK instead of some error code in both
cases.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkxYSBMACgkQHsardTLnvCXEEACfaTmUfsGD5nFuovDuqeUyL955
Y8cAoJSB5IAmf/CwDdpTl9jqbTYc48tS
=adMK
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-check_time_rule-return-value-on-failure.patch
Type: text/x-patch
Size: 808 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100803/68ca0211/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Return-proper-error-value-when-SRV-lookup-fails.patch
Type: text/x-patch
Size: 745 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100803/68ca0211/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-check_time_rule-return-value-on-failure.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100803/68ca0211/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Return-proper-error-value-when-SRV-lookup-fails.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100803/68ca0211/attachment-0001.sig>


More information about the sssd-devel mailing list