| Summary: | env: invalid number 'VAR' error when using `env -u VAR` | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Chris Renshaw <osm0sis> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | busybox-cvs, softchemical |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Chris Renshaw
2017-11-28 00:22:22 UTC
Here my tests: $> sudo docker run -ti --rm busybox / # busybox BusyBox v1.27.2 (2017-11-01 22:58:00 UTC) multi-call binary. ... / # env -u HOME env env: invalid number 'HOME' / # env -u 1 env Segmentation fault Since it said invalid number I tried a number and got a segfault. Fixed in git: commit 8d8ee910f0a624fefd2a4aaefeb406003dea7807 Author: Ron Yorston <rmy@pobox.com> Date: Mon Dec 25 21:36:05 2017 +0100 env: -u option fails due to typo |