summaryrefslogtreecommitdiff
path: root/old/textutils
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-06 08:45:47 +0000
committerJim Meyering <jim@meyering.net>2000-08-06 08:45:47 +0000
commitae9ce08522f0264c2da12a8b10321eb8c873a585 (patch)
tree1a08119165ec53a721c22b302ba07e564168e4d1 /old/textutils
parent95b686e75125362a5049cb95996d3f8a0b48db88 (diff)
downloadcoreutils-ae9ce08522f0264c2da12a8b10321eb8c873a585.tar.xz
*** empty log message ***
Diffstat (limited to 'old/textutils')
-rw-r--r--old/textutils/ChangeLog11
1 files changed, 9 insertions, 2 deletions
diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog
index f0fccd630..265036747 100644
--- a/old/textutils/ChangeLog
+++ b/old/textutils/ChangeLog
@@ -1,7 +1,14 @@
+2000-08-04 Greg McGary <greg@mcgary.org>
+
+ * src/tail.c (pipe_lines): Add variable `nbytes' so we can free
+ `tmp' immediately after read loop. Don't process an empty file.
+ [This fixes a buffer-underrun error -- detected thanks to
+ bounded pointers -jmm]
+
2000-08-05 Jim Meyering <meyering@lucent.com>
- * src/pr.c (init_header): Fix buffer-overrun error.
- Allocated buffer was sometimes too small.
+ Fix buffer-overrun error.
+ * src/pr.c (init_header): Allocated buffer was sometimes too small.
Reported by Greg McGary (who found this bug using his
bounded-pointers-enabled gcc).
(init_header): Move declarations of several variables into the