[krbdev.mit.edu #8806] git commit
Greg Hudson via RT <[email protected]>
| Newsgroups | gmane.comp.encryption.kerberos.bugs |
|---|---|
| Message-ID | <[email protected]> |
Simplify kdb5_util global argv processing kdb5_util could issue an unexplained error if a command argument matched a command name, such as when trying to load a dump file named "dump". It could also mysteriously work if the command name and its arguments were misordered, such as "kdb5_util kdb.dump load". In the main option loop, build cmd_argv without special-casing command names; then look up cmd_argv[0] after the loop. https://github.com/krb5/krb5/commit/f5397f358b16a42e570e0a0553099bc58ff799e0 Author: Greg Hudson <[email protected]> Commit: f5397f358b16a42e570e0a0553099bc58ff799e0 Branch: master src/kadmin/dbutil/kdb5_util.c | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-)