bug-bash
[Top][All Lists]
Advanced

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

Re: Bash-4.3 Official Patch 27


From: Chet Ramey
Subject: Re: Bash-4.3 Official Patch 27
Date: Sun, 28 Sep 2014 20:49:21 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 9/28/14, 11:38 AM, becker.rg@gmail.com wrote:

> If I use the Arch linux [testing] bash-4.3.027-1 which is uses this patch 
> then I have a patch against the at(1) source which converts exported 
> functions into something that sh can parse and allows exported functions to 
> be used in the environment that calls at.

This looks like a problem with `at' assuming that everything in the
environment is a valid shell assignment statement (or equivalent).  Since
the environment can include arbitrary strings, that's not a safe
assumption.  Bash, for instance, ignores and passes environment strings
that it doesn't recognize as valid assignment statements.

> Also is there anyone here who knows where such a patch should be sent?

I'd send it to your vendor.  If appropriate they can send it upstream.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]