freeipa/util
Fraser Tweedale 3f59118ffc ipa_sam: do not modify static buffer holding fqdn
ipa_sam was modifying the buffer returned by ipa_gethostfqdn().
Subsequent calls to ipa_gethostfqdn() returned the corrupt data,
causing other operations to fail.

Update ipa_sam to copy the string and modify the copy.  Also
document this characteristic of ipa_gethostfqdn() and explain that
callers must not modify the returned data.

Part of: https://pagure.io/freeipa/issue/8501

Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
2020-10-26 17:11:19 +11:00
..
ipa_hostname.c Easier to use ipa_gethostfqdn() 2020-10-26 17:11:19 +11:00
ipa_hostname.h ipa_sam: do not modify static buffer holding fqdn 2020-10-26 17:11:19 +11:00
ipa_krb5.c CVE-2020-1722: prevent use of too long passwords 2020-04-14 12:36:01 +03:00
ipa_krb5.h CVE-2020-1722: prevent use of too long passwords 2020-04-14 12:36:01 +03:00
ipa_ldap.c Print LDAP diagnostic messages on error 2020-01-17 15:47:00 +01:00
ipa_ldap.h Print LDAP diagnostic messages on error 2020-01-17 15:47:00 +01:00
ipa_mspac.h Migrate from #ifndef guards to #pragma once 2016-05-29 14:04:45 +02:00
ipa_pwd_ntlm.c covscan: free ucs2-encoded password copy when generating NTLM hash 2019-11-29 11:14:18 +01:00
ipa_pwd.c Extend password policy to evaluate passwords using libpwpolicy 2020-10-23 09:32:52 -04:00
ipa_pwd.h Extend password policy to evaluate passwords using libpwpolicy 2020-10-23 09:32:52 -04:00
Makefile.am Unify access to FQDN 2020-10-26 17:11:19 +11:00
t_policy.c Add a unit test for libpwquality-based password policy 2020-10-23 09:32:52 -04:00
t_pwd.c util: add unit test for pw hashing 2020-06-08 12:54:19 +03:00