Collin Funk wrote:
> As far as I am aware, all implementations will insert the duplicate at
> the end of ENVIRON and just return the first one when getenv is called.

Do you mean, when the environment contains a string "FOO" (without '=' sign),
then setting "FOO=value" will produce an environment where getenv("FOO")
is "" or NULL but not "value"? That would be a kind of denial-of-service
attack on all subprocesses.

Or did I misunderstand you?

Bruno




Reply via email to