🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #129

Re: memory leak, also trouble with echo (bash 0.99)

#129
From: Chet Ramey
Date: Fri, 16 Jun 1989 19:51
28 lines
1272 bytes
In article <8906160229.AA05556@cit-vlsi> andy@cit-vlsi.ai.mit.edu (Andy Fyfe) writes:
>[running on a sun3, sunos 3.5]

>On the suns,
>	$ echo '\'
>	\UUUU
>
>Where do the U's come from?

The U's are the range-checking bytes written after a block of space by the
bash malloc().  It would appear that you have a pointer problem somewhere;
however, I cannot reproduce it.

This particular example works fine on my vax (running Ultrix 3.0), my sun-3
running sunos 3.5, my IBM-RT running AOS 4.3, and my other IBM-RT running
AIX 2.2.1:

cwns1$ echo '\'
\
cwns1$ 

Chet


Chet Ramey     Network Services Group, CWRU    chet@cwjcc.INS.CWRU.Edu

"The flagon with the dragon has the potion with the poison;
	the vessel with the pestle holds the brew that is true!"
Technical Details
Message-ID: <365@cwjcc.CWRU.Edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cwjcc!kiwi!chet
References: <8906160229.AA05556@cit-vlsi>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cwjcc!kiwi!chet
From: chet@kiwi.CWRU.EDU (Chet Ramey)
Newsgroups: gnu.bash.bug
Subject: Re: memory leak, also trouble with echo (bash 0.99)
Message-ID: <365@cwjcc.CWRU.Edu>
Date: 16 Jun 89 19:51:53 GMT
References: <8906160229.AA05556@cit-vlsi>
Sender: news@cwjcc.CWRU.Edu
Reply-To: chet@cwjcc.INS.CWRU.Edu (Chet Ramey)
Distribution: gnu
Organization: CWRU Andrew R. Jennings Computing Center
Lines: 28