-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07/30/2010 07:35 AM, Jakub Hrozek wrote:
Nack, testing revealed crash when calling "id" on user who
is not a
member of any groups.
Thanks for catching this. It turned out that
sysdb_search_user_by_name_send() did not copy the passed-in value of
attrs, so when it went out of scope (being defined on the stack in
sdap_initgr_rfc2307_get_sysdb_groups())
I've added a new patch
0005-Copy-the-attrs-attribute-in-sysdb_search_user_by_nam.patch that
fixes this.
I also updated patch 0004-Add-dup_string_list-utility-function.patch to
make it take a const char ** and modified patch
0006-Add-sysdb_update_members-function.patch accordingly to avoid
compiler warnings.
- --
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 v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org/
iEYEARECAAYFAkxSzuMACgkQeiVVYja6o6PDkgCfTc7f2Wr+V3qziZFLZSgPeDNH
7nEAn2YsHLGAB4SrA34BrpO8DkBlAyvT
=lrcj
-----END PGP SIGNATURE-----