]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(pipe_lines): Add variable `nbytes' so we can free
authorJim Meyering <jim@meyering.net>
Sun, 6 Aug 2000 08:44:11 +0000 (08:44 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 6 Aug 2000 08:44:11 +0000 (08:44 +0000)
commit95b686e75125362a5049cb95996d3f8a0b48db88
treef1dde933671af5789988f5439ce5b3785ba32f18
parent773a575cd59826669a84dc56663a0c7882d47628
(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 -- also thanks to bounded pointers.
src/tail.c