[SSSD] [PATCH] Wrong paramater to sysdb_attrs_add_uint32

Jakub Hrozek jhrozek at redhat.com
Thu Jul 28 15:56:10 UTC 2011


While reviewing Jan's sysdb patches I noticed that a call to
sysdb_attrs_add_uint32() I added recently is wrong.

The reason the code worked and the compiler did not complain was simple
- there's only one place that calls sdap_store_group_with_gid() and it
passes group_attrs for mem_ctx. If we ever reused
sdap_store_group_with_gid() with a different memory context it would
probably crash and burn.

Sorry about the inconvenience.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Wrong-paramater-to-sysdb_attrs_add_uint32.patch
Type: text/x-patch
Size: 1030 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110728/a5bfcbc9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110728/a5bfcbc9/attachment.sig>


More information about the sssd-devel mailing list