]> andersk Git - gssapi-openssh.git/blobdiff - openssh/auth.c
authctxt->user should never be null but add a test just to be sure
[gssapi-openssh.git] / openssh / auth.c
index 5d3bb1d1b14c6c1de0429a65937ea35ce2a8838f..e1f4681d3cf5b0c7c71c19dda845b3408f8c1ac3 100644 (file)
@@ -256,7 +256,7 @@ auth_log(Authctxt *authctxt, int authenticated, char *method, char *info)
            authmsg,
            method,
            authctxt->valid ? "" : "illegal user ",
-           (authctxt->user[0]) ? authctxt->user : "<implicit>",
+           (authctxt->user && authctxt->user[0]) ? authctxt->user : "<implicit>",
            get_remote_ipaddr(),
            get_remote_port(),
            info);
This page took 1.59526 seconds and 4 git commands to generate.