summaryrefslogtreecommitdiffstats
path: root/ipa-client/man
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2011-01-11 11:48:22 +0100
committerRob Crittenden <rcritten@redhat.com>2011-01-12 11:31:26 -0500
commit974287895ec5dbb377a65a83c050f088df79ffb7 (patch)
tree64bb85e498d5df957fbd4c79585d9b547697ab85 /ipa-client/man
parentb739df4c111c63e99ece4a9e2f5a548156f7a3fb (diff)
downloadfreeipa-974287895ec5dbb377a65a83c050f088df79ffb7.zip
freeipa-974287895ec5dbb377a65a83c050f088df79ffb7.tar.gz
freeipa-974287895ec5dbb377a65a83c050f088df79ffb7.tar.xz
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
Diffstat (limited to 'ipa-client/man')
-rw-r--r--ipa-client/man/ipa-join.12
1 files changed, 2 insertions, 0 deletions
diff --git a/ipa-client/man/ipa-join.1 b/ipa-client/man/ipa-join.1
index 6eb93f3..47d5966 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