[krbdev.mit.edu #8806] git commit
Greg Hudson via RT
rt-comment at KRBDEV-PROD-APP-1.mit.edu
Wed May 29 14:31:17 EDT 2019
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 <ghudson at mit.edu>
Commit: f5397f358b16a42e570e0a0553099bc58ff799e0
Branch: master
src/kadmin/dbutil/kdb5_util.c | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
More information about the krb5-bugs
mailing list