[krbdev.mit.edu #8661] git commit

Erik Sjölund via RT rt-comment at KRBDEV-PROD-APP-1.mit.edu
Thu Apr 26 11:27:07 EDT 2018


Thanks!
That makes it easier to read the code.


On Thu, Apr 26, 2018 at 5:22 PM, Greg Hudson via RT
<rt-comment at krbdev.mit.edu> wrote:
>
> 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.
>
> https://github.com/krb5/krb5/commit/e1b5b824f5d7388a67d0854b56d3906c4fbdd778
> Author: Greg Hudson <ghudson at mit.edu>
> Commit: e1b5b824f5d7388a67d0854b56d3906c4fbdd778
> Branch: master
>  src/clients/ksu/main.c |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
>



More information about the krb5-bugs mailing list