From tmb@dircon.net  Tue Sep  5 09:16:23 2000
Return-Path: <tmb@dircon.net>
Received: from mx0.dircon.net (mx0.dircon.net [194.112.50.10])
	by hub.freebsd.org (Postfix) with ESMTP id 396C037B424
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  5 Sep 2000 09:16:22 -0700 (PDT)
Received: from diablo.dircon.net (desk108.ch.dircon.net [195.157.3.108])
	by mx0.dircon.net (8.9.1.Dirconised/8.9.1) with ESMTP id RAA07748
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 5 Sep 2000 17:16:15 +0100 (BST)
Received: by diablo.dircon.net (Postfix, from userid 1000)
	id 51FD61B21A; Tue,  5 Sep 2000 17:16:15 +0100 (BST)
Message-Id: <20000905161615.51FD61B21A@diablo.dircon.net>
Date: Tue,  5 Sep 2000 17:16:15 +0100 (BST)
From: mark.blackman@dircon.net
Sender: tmb@dircon.net
Reply-To: mark.blackman@dircon.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: /bin/sh core dumps on some 8 bit chars in words or here-docs
X-Send-Pr-Version: 3.2

>Number:         21064
>Category:       bin
>Synopsis:       /bin/sh core dumps on some 8 bit chars in words or here-docs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    cracauer
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 05 09:20:01 PDT 2000
>Closed-Date:    Wed Sep 6 10:39:35 MEST 2000
>Last-Modified:  Wed Sep 06 10:41:29 MEST 2000
>Originator:     Mark Blackman
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
Direct Connection
>Environment:

	4-STABLE

>Description:

	/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.

>How-To-Repeat:
       printf "echo \202" > tmpfile
       sh tmpfile
	
>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)

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->cracauer 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Tue Sep 5 09:39:07 PDT 2000 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21064 
State-Changed-From-To: open->closed 
State-Changed-By: cracauer 
State-Changed-When: Wed Sep 6 10:39:35 MEST 2000 
State-Changed-Why:  
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. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=21064 
>Unformatted:
