[16314] in Kerberos-V5-bugs
[krbdev.mit.edu #8806] git commit
daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Wed May 29 14:31:36 2019
Mail-followup-to: rt@krbdev.mit.edu
mail-copies-to: never
From: Greg Hudson via RT <rt-comment@KRBDEV-PROD-APP-1.mit.edu>
In-Reply-To: <rt-8806@krbdev.mit.edu>
Message-ID: <rt-8806-49466.19.5436382999858@krbdev.mit.edu>
To: "'AdminCc of krbdev.mit.edu Ticket #8806'":;
Date: Wed, 29 May 2019 14:31:17 -0400
MIME-Version: 1.0
Reply-To: rt-comment@KRBDEV-PROD-APP-1.mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu
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@mit.edu>
Commit: f5397f358b16a42e570e0a0553099bc58ff799e0
Branch: master
src/kadmin/dbutil/kdb5_util.c | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs