[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bootstrap can trigger bug in /bin/sh of OpenSolaris
On Thu, Oct 30, 2008 at 11:28 PM, Joerg Sonnenberger
> On Thu, Oct 30, 2008 at 10:16:51PM +0100, J?rn Clausen wrote:
>> - Remove the path check in bootstrap. Or at least soften it. It
>> rejects a lot of paths someone might have a good reason to use. I
>> think the check for an absolute path is totally sufficient.
> One major reason for the check is to prevent e.g. PREFIX with spaces and
> other fancy characters. Which is not that unlikely as it seems.
Then maybe the check could test for exactly this character. And maybe
two or three others, that are deemed dangerous within pkgsrc.
For what it's worth: Changing the regex to
i.e. moving the literal "-" to the end, makes it behave in
OpenSolaris' Bourne Shell as expected. Now paths containing a dash are
Main Index |
Thread Index |