]> granicus.if.org Git - sudo/commit
Avoid a double free when ipa_hostname is set in sssd.conf and it
authorTodd C. Miller <Todd.Miller@sudo.ws>
Tue, 28 Nov 2017 18:28:44 +0000 (11:28 -0700)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Tue, 28 Nov 2017 18:28:44 +0000 (11:28 -0700)
commit93828eca65516668a8fe80a9992f2fb744d47288
treea9b5df2c8dc96e0d5a814370e6f2b3d2502597a0
parent250209d7a8392d4afddd1fecc637a6e962c8af63
Avoid a double free when ipa_hostname is set in sssd.conf and it
is an unqualified host name.  From Daniel Kopecek.

Also move the "unable to allocate memory" warning into get_ipa_hostname()
itself to make it easier to see where the allocation failed in the
debug log.
plugins/sudoers/sssd.c