[SSSD] [PATCH] Fix boolean comparison against string
Stephen Gallagher
sgallagh at redhat.com
Wed Jan 5 13:06:49 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/04/2011 05:28 AM, Sumit Bose wrote:
> On Mon, Jan 03, 2011 at 01:10:23PM -0500, Stephen Gallagher wrote:
> These two macros are only ever used as the default value for a call to
> confdb_get_bool(), which is expecting a boolean value here. By
> coincidence, this resulted in the same behavior as expected (because the
> memory location of the string != 0), but it is still incorrect.
>
>
> Coverity 10082 and 100083
>
>> ACK
Pushed to master
- --
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/
iEYEARECAAYFAk0kbOkACgkQeiVVYja6o6NydQCglcqBgrppCvr1cV1Rp4Dn/7I5
CLAAn3/qBC+jXL6BseIdLzcIKN7UkV9C
=w6T8
-----END PGP SIGNATURE-----
More information about the sssd-devel
mailing list