diff options
author | Pádraig Brady <P@draigBrady.com> | 2010-10-07 13:12:36 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2010-10-07 20:08:16 +0100 |
commit | 758916b49e69836fcbd1e861e19edfced44e28ea (patch) | |
tree | f1f3f1b4117e9efb4ea1f27bb1e9a0b5e4453579 /NEWS | |
parent | 6483f0e1bd4ae5b5b300512c96cc3028d643a58c (diff) | |
download | coreutils-758916b49e69836fcbd1e861e19edfced44e28ea.tar.xz |
split: fix reporting of read errors
The bug was introduced with commit 23f6d41f, 19-02-2003.
* src/split.c (bytes_split, lines_split, line_bytes_split):
Correctly check the return from full_read().
* tests/misc/split-fail: Ensure split fails when
it can't read its input.
* NEWS: Mention the fix.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -15,6 +15,9 @@ GNU coreutils NEWS -*- outline -*- found to be part of a directory cycle. Before, du would issue a "NOTIFY YOUR SYSTEM MANAGER" diagnostic and fail. + split now diagnoses read errors rather than silently exiting. + [bug introduced in coreutils-4.5.8] + tac would perform a double-free when given an input line longer than 16KiB. [bug introduced in coreutils-8.3] |