From: Jim Meyering Date: Sun, 6 Aug 2000 08:45:47 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: TEXTUTILS-2_0g~7 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=ae9ce08522f0264c2da12a8b10321eb8c873a585;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/old/textutils/ChangeLog b/old/textutils/ChangeLog index f0fccd6308..2650367472 100644 --- a/old/textutils/ChangeLog +++ b/old/textutils/ChangeLog @@ -1,7 +1,14 @@ +2000-08-04 Greg McGary + + * 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 - * 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