[16299] in Kerberos-V5-bugs
[krbdev.mit.edu #8806] kdb5_util errors on command arguments matching
daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Tue May 21 13:40:21 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-49432.13.3764208982233@krbdev.mit.edu>
To: "'AdminCc of krbdev.mit.edu Ticket #8806'":;
Date: Tue, 21 May 2019 13:40:04 -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
kdb5_util's top-level argv loop continues parsing command-line
arguments after it finds the command name. This is probably
intentional, so that global options like "-r realm" can appear before
or after the command name. However, if any of the command arguments
happen to match a command name, usage() is called with no explanation.
I ran into this when running trying to load a dump file named "dump"
with "kdb5_util load dump".
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs