bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String replacements leak small amounts of memory each time


From: Matthew Woehlke
Subject: Re: String replacements leak small amounts of memory each time
Date: Wed, 23 Jun 2010 13:05:03 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.23) Gecko/20090825 Fedora/2.0.0.23-1.fc10 Thunderbird/2.0.0.23 Mnenhy/0.7.5.0

Chet Ramey wrote:
On 6/22/10 6:57 PM, Matthew Woehlke wrote:
No question something bad is going on here.

You're right.  I found and fixed it.  It wasn't where I was looking
initially.  The fix will be in the next bash release and may come out
as a patch.

Also, when run under valgrind, I see a number of leaks with block count
exactly equal to the number of lines processed.

Interesting, since I didn't get these valgrind results.

Interesting indeed. Anyway, glad you found the problem. Thanks for keeping us informed.

--
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
--
XFS is not something I look into the innards of, as I don't have enough chickens to sacrifice. -- Alan Cox




reply via email to

[Prev in Thread] Current Thread [Next in Thread]