summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-04-12 12:01:01 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-05-30 17:21:15 +0200
commitd00672f4efc25a3cfd7252254854dfc60deeec6b (patch)
tree410fef02012c05924b193ddfac17f77b4f9299f9 /m4
parentf66b1e7157f606cccad909f67daec29d7c87a41d (diff)
downloadsssd-d00672f4efc25a3cfd7252254854dfc60deeec6b.tar.gz
sssd-d00672f4efc25a3cfd7252254854dfc60deeec6b.tar.xz
sssd-d00672f4efc25a3cfd7252254854dfc60deeec6b.zip
LDAP: do not invalidate pointer with realloc while processing ghost users1.9.2-89
https://fedorahosted.org/sssd/ticket/1799 One peculiarity of the sysdb_attrs_get_el interface is that if the attribute does not exist, then the attrs array is reallocated and the element is created. But in case other pointers are already pointing into the array, the realloc might invalidate them. Such case was in the sdap_process_ghost_members function where if the group had no members, the "gh" pointer requested earlier might have been invalidated by the realloc in order to create the member element.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions