freeipa/daemons
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
..
dnssec ipa-dnskeysyncd: Raise loglevel to DEBUG 2020-08-31 09:42:31 +03:00
ipa-kdb Easier to use ipa_gethostfqdn() 2020-10-26 17:11:19 +11:00
ipa-otpd Easier to use ipa_gethostfqdn() 2020-10-26 17:11:19 +11:00
ipa-sam ipa_sam: do not modify static buffer holding fqdn 2020-10-26 17:11:19 +11:00
ipa-slapi-plugins Easier to use ipa_gethostfqdn() 2020-10-26 17:11:19 +11:00
ipa-version.h.in Build: move version handling from Makefile to configure 2016-11-09 13:08:32 +01:00
Makefile.am Build: properly integrate ipa-version.h.in into build system 2016-11-29 15:28:24 +01:00