]> git.ipfire.org Git - thirdparty/krb5.git/commit
Move zero argc check earlier in ksu 770/head
authorGreg Hudson <ghudson@mit.edu>
Tue, 24 Apr 2018 23:35:38 +0000 (19:35 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 26 Apr 2018 15:11:09 +0000 (11:11 -0400)
commite1b5b824f5d7388a67d0854b56d3906c4fbdd778
treebc40850eb56c5a84f1d290a81c78f5e47698c5d2
parent682013f55984173f2f742c0ecf43d83181100456
Move zero argc check earlier in ksu

For improved auditability, check for a zero argc value earlier in
main() so that the first two calls to com_err() can't pass a NULL
whoami value--which would be harmless, but that may not be obvious to
a reader.

ticket: 8661
src/clients/ksu/main.c