diff options
author | Pavel Březina <pbrezina@redhat.com> | 2012-07-16 15:30:38 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-07-16 10:25:26 -0400 |
commit | 58b335985e75672e4de699351ab1182cbd7aa990 (patch) | |
tree | 1f4a27f8d419ced702a82f8915f9850e825092ce /src/providers/ldap/ldap_common.c | |
parent | b996569ec09cf7eaffc4d38306db6d9069fa954f (diff) | |
download | sssd-58b335985e75672e4de699351ab1182cbd7aa990.tar.gz sssd-58b335985e75672e4de699351ab1182cbd7aa990.tar.bz2 sssd-58b335985e75672e4de699351ab1182cbd7aa990.zip |
resolv_gethostbyname_send: strdup hostname to work properly when hostname is allocated on stack
If we provide a hostname that was allocated on stack, it may contain
invalid data in the time when it is actually resolved.
This patch fixes it.
Diffstat (limited to 'src/providers/ldap/ldap_common.c')
0 files changed, 0 insertions, 0 deletions