[Bug 10906] /usr/bin/env: endless loop if VAR=ASSIGN present
bugzilla at busybox.net
bugzilla at busybox.net
Thu Mar 29 15:41:31 UTC 2018
https://bugs.busybox.net/show_bug.cgi?id=10906
Denys Vlasenko <vda.linux at googlemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com> ---
This construct does not do what you expect.
Everything after #! goes into argv[1]:
argv[0]='/usr/bin/env'
argv[1]='ABRA=KADABRA sh'
argv[2]='./script'
and argv[2] is script's name. Thus, it won't work with any implementaion of
"env".
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list