Re: [PATCH] Add a ssh_config SetEnv option to override environment variables

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Omar Sandoval wrote:
> +++ b/readconf.c
> @@ -1294,6 +1295,34 @@ parse_keytypes:
..
> +	case oSetEnv:
..
> +		value = 0;
> +		for (j = 0; j < options->num_send_env; j++) {
> +			if (match_pattern(arg, options->send_env[j])) {
> +				value = 1;
> +				break;
> +			}
> +		}

Should the above really use pattern matching to compare variable names?


//Peter
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux