-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/08/2010 05:34 PM, Stephen Gallagher wrote:
On 03/04/2010 11:02 AM, Jakub Hrozek wrote:
> On 03/03/2010 08:44 PM, Jakub Hrozek wrote:
>> Fixes: 290
> Self-nack, the attached patch fixes a bug related to error handling in
> the patch.
Nack.
If you set filter_users or filter_groups in a domain, but do not also
have it set in [NSS], the configuration fails with ENOENT, because
if (ret == ENOENT && !filter_set) is false.
Also, while you're in there, could you fix the impending segfault after
filter_list = talloc_array(tmpctx, char *, 2);
Instead of checking for NULL here, it's not tested until after
attempting to assign to filter_list[0].
Thank you for the review, a new patch is attached.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org/
iEYEARECAAYFAkuVQWcACgkQHsardTLnvCUkZQCg1XuDN+qf+mKSoJrVEnLmg+Pm
tZcAoIiBNvuUk+tcPUUEAJ8QD4f/56ms
=nXbZ
-----END PGP SIGNATURE-----