Regression in ash (crashing)

Rich Felker dalias at aerifal.cx
Wed Dec 12 16:19:15 UTC 2012


On Wed, Dec 12, 2012 at 07:07:13PM +0300, Leonid Lisovskiy wrote:
> On Wed, Dec 12, 2012 at 6:30 PM, Vladislav Grishenko <themiron at mail.ru> wrote:
> > Leonid, seems it doesn't help or Rich has different case
> >
> 
> My investigation was to set DEBUG = 1 in ash.c, after that I discover
> that expredir() passes invalid pointer into stunalloc() - debug check
> fails & ash aborts.
> In my case redir-> type == NFROM and patch posted above helps me.
> Seems to be it don't cover all cases and should be improved.
> 
> All places, except copynode(), fills nfile structure with zeroes, so
> problem should be inside it...

Can we take this back on-list? It was my mistake to begin with,
accidentally hitting reply rather than reply-to-list, that took it off
the list, and since it's discussion of fixing a bug I think it should
be on the list for everybody to see.

Rich


More information about the busybox mailing list