Re: REGRESSION: shellshock patch rejects valid function names
From:
Chet Ramey
Subject:
Re: REGRESSION: shellshock patch rejects valid function names
Date:
Sun, 28 Sep 2014 21:11:41 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
On 9/27/14, 10:03 PM, Eric Blake wrote:
>> Yes, it's an application requirement. Regardless, all the versions of bash
>> we're talking about here reject non-identifiers.
>
> I'm still trying to find that line in the actual POSIX spec.
"The function is named fname; the application shall ensure that it is a
name (see XBD Name) and that it is not the name of a special built-in utility."
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_05
>
--
``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/