]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Sun, 6 Aug 2000 08:45:47 +0000 (08:45 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 6 Aug 2000 08:45:47 +0000 (08:45 +0000)
old/textutils/ChangeLog

index f0fccd63087ef5e4c31469d43f175c13b0e69b8f..265036747278efd0541e435a742a359926c96a53 100644 (file)
@@ -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