Subject: Re: /bin/sh crashing
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: current-users
Date: 05/24/2007 18:54:38
In article <b0459d5c0705241043o58668e61uf02fdb302f196491@mail.gmail.com>,
matthew sporleder <msporleder@gmail.com> wrote:
>On 5/24/07, Paul Goyette <paul@whooppee.com> wrote:
>> Doesn't crash here, either.  This is 4.99.18 with sources updated via
>> CVS as of 2007-04-29 23:18:15 UTC
>>
>> quicky:paul {164} /bin/sh
>> # test ! $A
>> # echo $?
>> 0
>> # exit
>> quicky:paul {165}

I fixed the bug. It crashes only when the second word after the NULL
terminated array is bad, so you need to make sure you dirtied the
memory a bit more.

christos