From 974287895ec5dbb377a65a83c050f088df79ffb7 Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Tue, 11 Jan 2011 11:48:22 +0100 Subject: Unchecked return values in ipa-join krb5_get_default_realm() and asprintf() return values were ignored. This could lead to unhandled error issues or memory access issues. This patch adds return value checks to all such functions. As a consequence, one new return value has been added to man page. https://fedorahosted.org/freeipa/ticket/720 --- ipa-client/man/ipa-join.1 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ipa-client/man') diff --git a/ipa-client/man/ipa-join.1 b/ipa-client/man/ipa-join.1 index 6eb93f36..47d5966d 100644 --- a/ipa-client/man/ipa-join.1 +++ b/ipa-client/man/ipa-join.1 @@ -121,3 +121,5 @@ The exit status is 0 on success, nonzero on error. 19 Unable to generate Kerberos credentials cache 20 Unenrollment result not in XML\-RPC response + +21 Failed to get default Kerberos realm -- cgit