Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  5 Sep 2000 17:16:15 +0100 (BST)
From:      mark.blackman@dircon.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/21064: /bin/sh core dumps on some 8 bit chars in words or here-docs
Message-ID:  <20000905161615.51FD61B21A@diablo.dircon.net>

next in thread | raw e-mail | index | archive | help

>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:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 05 09:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000905161615.51FD61B21A>