summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2010-11-10 14:35:17 +0000
committerPádraig Brady <P@draigBrady.com>2010-11-11 01:40:12 +0000
commit0339eb4598600024cedca14a7e882c1737dd2d82 (patch)
treea83d8af40ed3fa2382f8720c0f74aaa8fad644f3 /NEWS
parent7727908335ef1049deac42851026ed8bf5ae2734 (diff)
downloadcoreutils-0339eb4598600024cedca14a7e882c1737dd2d82.tar.xz
csplit: fix a memory leak per input buffer
* src/csplit.c (free_buffer): Also free the line offsets buffers (remove_line): Also free the containing structure * tests/misc/csplit-heap: A new test to trigger with leaks of this magnitude. * tests/Makefile.am: Reference the new test * NEWS: Mention the fix Reported by David Hofstee
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 3 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 89ae5d679..e77768db2 100644
--- a/NEWS
+++ b/NEWS
@@ -9,9 +9,9 @@ GNU coreutils NEWS -*- outline -*-
latent bug introduced in coreutils 8.1, and possibly a second latent
bug going at least as far back as coreutils 5.97]
- csplit no longer corrupts heap when writing more than 999 files.
- Demonstrate with: seq 1000 | csplit - /./ '{*}'
- [the bug was present in the initial implementation]
+ csplit no longer corrupts heap when writing more than 999 files,
+ nor does it leak memory for every chunk of input processed
+ [the bugs were present in the initial implementation]
tail -F once again notices changes in a currently unavailable
remote directory [bug introduced in coreutils-7.5]