diff options
author | Rob Crittenden <rcritten@redhat.com> | 2008-09-24 17:50:56 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2008-09-24 18:04:28 -0400 |
commit | 4d8a255c062d943695ae35c467ec8f2b0f7fa4b7 (patch) | |
tree | be5ebe62b5ac255e3ca5758a14c177c83df6b235 /ipa-client | |
parent | 7b799d8c6f5a740be3e2433d03cfc4d41b496ef6 (diff) | |
download | freeipa-4d8a255c062d943695ae35c467ec8f2b0f7fa4b7.tar.gz freeipa-4d8a255c062d943695ae35c467ec8f2b0f7fa4b7.tar.xz freeipa-4d8a255c062d943695ae35c467ec8f2b0f7fa4b7.zip |
Fix segfault in ipa-getkeytab
463548
Diffstat (limited to 'ipa-client')
-rw-r--r-- | ipa-client/ipa-getkeytab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-client/ipa-getkeytab.c b/ipa-client/ipa-getkeytab.c index f153094d..fbeb547a 100644 --- a/ipa-client/ipa-getkeytab.c +++ b/ipa-client/ipa-getkeytab.c @@ -756,7 +756,7 @@ int main(int argc, char *argv[]) if (!password) { exit(2); } - } else if (strchr(enctypes_string, ':')) { + } else if (enctypes_string && strchr(enctypes_string, ':')) { if (!quiet) { fprintf(stderr, "Warning: salt types are not honored with randomized passwords (see opt. -P)\n"); } |