summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-04-12 12:01:01 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-04-19 14:08:31 +0200
commitf4fddaf1bad5f82920ae3ec2af90b42309472a89 (patch)
tree70d851d3d3c3f040d0df06cabdbe5f8f996d075c /Makefile.am
parent4f57212955827a9062b150c768e8a0c2fb613193 (diff)
downloadsssd-f4fddaf1bad5f82920ae3ec2af90b42309472a89.tar.gz
sssd-f4fddaf1bad5f82920ae3ec2af90b42309472a89.tar.xz
sssd-f4fddaf1bad5f82920ae3ec2af90b42309472a89.zip
LDAP: do not invalidate pointer with realloc while processing ghost users
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 'Makefile.am')
0 files changed, 0 insertions, 0 deletions