Bug 21064

Summary: /bin/sh core dumps on some 8 bit chars in words or here-docs
Product: Base System Reporter: mark.blackman <mark.blackman>
Component: binAssignee: Martin Cracauer <cracauer>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-STABLE   
Hardware: Any   
OS: Any   

Description mark.blackman 2000-09-05 17:20:01 UTC
	/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
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-09-05 17:39:07 UTC
Responsible Changed
From-To: freebsd-bugs->cracauer

Over to maintainer.
Comment 2 Martin Cracauer freebsd_committer freebsd_triage 2000-09-06 09:39:35 UTC
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.