| Summary: | /bin/sh core dumps on some 8 bit chars in words or here-docs | ||
|---|---|---|---|
| Product: | Base System | Reporter: | mark.blackman <mark.blackman> |
| Component: | bin | Assignee: | Martin Cracauer <cracauer> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.1-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-bugs->cracauer Over to maintainer. State Changed From-To: open->closed The fixes from -current have been merged into 4-stable. As stated in the commit messages for -current, the merging would have happend anyway, it is not useful to open a PR for a simple reminder. If you need some fix in -stable urgently, please contact me directly. |
/bin/sh in 4-STABLE *will* coredump if it gets certain 8 bit chars in either shell words or in here-documents. The main offender is 0x82/\0202/130. Fix: only fix is currently in 5-CURRENT. not merged to 4-STABLE yet. That fix is regarded as sub-optimal according to correspondence in the freebsd-current mailing lists (see freebsd-current July 28,2000) How-To-Repeat: printf "echo \202" > tmpfile sh tmpfile