mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix segfault in ipa-getkeytab
463548
This commit is contained in:
parent
7b799d8c6f
commit
4d8a255c06
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user