summaryrefslogtreecommitdiff
path: root/old
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-11-02 03:51:47 +0000
committerJim Meyering <jim@meyering.net>1996-11-02 03:51:47 +0000
commit0bd1289ad12bbece8ab3236522f667ef1a5fc14f (patch)
tree6367174be3af879b4ca7182e73bee3fd97ad6feb /old
parentfebf70b73ffa2a61117e9bade6400d19e6f49344 (diff)
downloadcoreutils-0bd1289ad12bbece8ab3236522f667ef1a5fc14f.tar.xz
.
Diffstat (limited to 'old')
-rw-r--r--old/textutils/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog
index 8ed8cdc04..82f0bd434 100644
--- a/old/textutils/ChangeLog
+++ b/old/textutils/ChangeLog
@@ -1,3 +1,13 @@
+Fri Nov 1 21:33:16 1996 Jim Meyering <meyering@na-net.ornl.gov>
+
+ * src/sort.c [!ENABLE_ASSERTIONS]: Guard NDEBUG definition.
+ (checkfp): Fix off-by-one error that resulted in writing one byte
+ beyond the end of a malloc'd buffer. It caused `sort -c' to segfault
+ on Linux systems having a relatively recent libc. Before, running
+ the command, perl -e "print 'x' x 30, \"\n\";"|sort -c
+ would provoke the memory overrun (though not necessarily the failure).
+ Add an assertion.
+
Thu Oct 31 17:48:24 1996 Jim Meyering <meyering@na-net.ornl.gov>
* src/sort.c (key_init): New function.