[BACK]Return to session.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/session.c between version 1.325 and 1.326

version 1.325, 2020/10/18 11:32:02 version 1.326, 2020/11/28 03:27:59
Line 890 
Line 890 
                 for (n = 0 ; n < auth_opts->nenv; n++) {                  for (n = 0 ; n < auth_opts->nenv; n++) {
                         ocp = xstrdup(auth_opts->env[n]);                          ocp = xstrdup(auth_opts->env[n]);
                         cp = strchr(ocp, '=');                          cp = strchr(ocp, '=');
                         if (*cp == '=') {                          if (cp != NULL) {
                                 *cp = '\0';                                  *cp = '\0';
                                 /* Apply PermitUserEnvironment allowlist */                                  /* Apply PermitUserEnvironment allowlist */
                                 if (options.permit_user_env_allowlist == NULL ||                                  if (options.permit_user_env_allowlist == NULL ||

Legend:
Removed from v.1.325  
changed lines
  Added in v.1.326