summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2014-11-24 09:14:44 +0000
committerPádraig Brady <P@draigBrady.com>2014-11-24 09:31:49 +0000
commit16e2347bd545057b04a97115563e606ad822ec33 (patch)
treed180631231f8877c253168b8f34288f208c3cc96 /NEWS
parent2e81e62243409c5c574b899f52b08c000e4d99fd (diff)
downloadcoreutils-16e2347bd545057b04a97115563e606ad822ec33.tar.xz
paste: fix possible truncated output with large files
If '\n' was present at the size_t boundary of a file, then that and subsequent data would be discarded. * src/paste.c (paste_parallel): Avoid the overflow issue by changing the flag to a boolean rather than a count. * NEWS: Mention the bug fix.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 2c7e590e0..27847d429 100644
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,11 @@ GNU coreutils NEWS -*- outline -*-
head, od, split, tac, tail, and wc no longer mishandle input from files in
/proc and /sys file systems that report somewhat-incorrect file sizes.
+ paste no longer truncates output for large input files. This would happen
+ for example with files larger than 4GiB on 32 bit systems with a '\n'
+ character at the 4GiB position.
+ [the bug dates back to the initial implementation]
+
** New features
chroot accepts the new --skip-chdir option to not change the working directory