From owner-freebsd-bugs Tue Sep 5 9:20: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CE0C137B43E for ; Tue, 5 Sep 2000 09:20:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA09909; Tue, 5 Sep 2000 09:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from mx0.dircon.net (mx0.dircon.net [194.112.50.10]) by hub.freebsd.org (Postfix) with ESMTP id 396C037B424 for ; 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 ; 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 Reply-To: mark.blackman@dircon.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/21064: /bin/sh core dumps on some 8 bit chars in words or here-docs Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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