From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jan 12 12:40:04 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36E8216A41F for ; Thu, 12 Jan 2006 12:40:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DFDF43D48 for ; Thu, 12 Jan 2006 12:40:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0CCe3cI099436 for ; Thu, 12 Jan 2006 12:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0CCe3ws099435; Thu, 12 Jan 2006 12:40:03 GMT (envelope-from gnats) Resent-Date: Thu, 12 Jan 2006 12:40:03 GMT Resent-Message-Id: <200601121240.k0CCe3ws099435@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nikos Vassiliadis Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73FE016A420 for ; Thu, 12 Jan 2006 12:33:37 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28C5F43D58 for ; Thu, 12 Jan 2006 12:33:34 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k0CCXXmU061505 for ; Thu, 12 Jan 2006 12:33:33 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k0CCXWur061504; Thu, 12 Jan 2006 12:33:32 GMT (envelope-from nobody) Message-Id: <200601121233.k0CCXWur061504@www.freebsd.org> Date: Thu, 12 Jan 2006 12:33:32 GMT From: Nikos Vassiliadis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/91707: 0xa0 character can crash bash-3.00.16(1)-release X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2006 12:40:04 -0000 >Number: 91707 >Category: ports >Synopsis: 0xa0 character can crash bash-3.00.16(1)-release >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 12 12:40:02 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Nikos Vassiliadis >Release: 6.0-STABLE >Organization: >Environment: FreeBSD iris.teledomenet.gr 6.0-STABLE FreeBSD 6.0-STABLE #0: Mon Jan 9 19:59:39 EET 2006 root@iris.teledomenet.gr:/usr/obj/usr/src/sys/GENERIC i386 >Description: Bash-3.00.16(1)-release crashes if the command line contains the character 0xa0. >How-To-Repeat: >Fix: Sorry, not known. Maybe building with other parameters than the ones currently used will work-around the problem. >Release-Note: >Audit-Trail: >Unformatted: >nik:0:~/tmp/tmp$ >nik:0:~/tmp/tmp$ >GNU bash, version 3.00.16(1)-release (i386-portbld-freebsd6.0) >nik:0:~/tmp/tmp$ >nik:0:~/tmp/tmp$ touch `echo -ne "test\xa0test"` >nik:0:~/tmp/tmp$ ulimit -v >6144 set this! or else bash will allocate huge amounts of memory before crashing >nik:0:~/tmp/tmp$ ls -l >total 0 >-rw-r--r-- 1 nik nik 0 Jan 12 13:44 test test use TAB to complete the command >nik:0:~/tmp/tmp$ ls -l test test >bash: xmalloc: cannot allocate 8 bytes (0 bytes allocated) We are back to the parent shell >nik:0:~$