[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: bug#1293: [BusyBox] bug#1293: busybox 0.60.5 ash builtin sh infinite loop
From: "Vladimir N. Oleynik" <dzo () simtreas ! ru>
Date: 2002-12-22 21:46:03
[Download RAW message or body]
> Package: busybox
> Version: 0.60.5
> Severity: normal
>
> With following lines set in Config.h,
> #define BB_ASH
> #define BB_FEATURE_SH_IS_ASH
> #define BB_FEATURE_SH_STANDALONE_SHELL
>
> Given any script foo.sh, the command
> sh foo.sh
> now hangs in an infinite loop in ash.c::findvar() before
> actually executing foo.sh, while
> /bin/sh foo.sh
> works. This bug was not present in busybox 0.60.2.
> Disabling BB_FEATURE_SH_STANDALONE_SHELL seems to prevent
> the problem; I can then happily invoke ash from inside ash
> without it hanging. Wonder what change since 0.60.2 broke this?
You are right.
I don`t support STANDALONE_SHELL and ALWAYS_WIN options.
This changes to ash vers after 0.60.2 is not my.
I can understand this full.
For quick hack patch attached.
--w
vodz
["last_patch73.gz" (application/x-gzip)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic